Skip to main content
JSJavaScript LabJioCoder

JavaScript Lab: practice JavaScript on real production tickets

Practice JavaScript on 40 real-world tickets, Intern to Staff. Closures, async/await, debounce, the DOM and the event loop, tested in your browser. Free.

L1 · Intern

  1. JS-101: Cart total shows ₹0499999
  2. JS-102: Free shipping charges ₹50
  3. JS-103: Prices show 1299.5 instead of ₹1,299.50
  4. JS-104: Sorting the listing reorders the home page
  5. JS-105: Checkout crashes for users without an address
  6. JS-106: One user's settings change everyone's defaults
  7. JS-107: Every size button selects XL
  8. JS-108: Product URLs break on apostrophes and dashes

L2 · Junior

  1. JS-201: Product page shows "undefined" when the API is down
  2. JS-202: Product page waits for reviews before showing the price
  3. JS-203: Search fires a request on every keystroke
  4. JS-204: Scroll tracking sends 400 events per second
  5. JS-205: Remove buttons stop working after "Load more"
  6. JS-206: Payment status check gives up after one blip
  7. JS-207: Slow coupon check freezes the checkout button
  8. JS-208: A corrupted cart in localStorage breaks the whole site

L3 · SDE-1

  1. JS-301: Cart badge keeps updating after the drawer closes
  2. JS-302: Delivery estimate recalculates 2,000 times per page
  3. JS-303: "Save changes" is enabled when nothing changed
  4. JS-304: Sales chart counts orders on the wrong day
  5. JS-305: Shared filter links lose the selected sizes
  6. JS-306: Search shows results for an old query
  7. JS-307: Bulk image upload crashes the browser tab
  8. JS-308: A review with <img onerror> runs code on the product page

L4 · Senior

  1. JS-401: Analytics sends one request per click
  2. JS-402: Recently viewed cache grows until the tab crashes
  3. JS-403: Closed mini carts keep re-rendering
  4. JS-404: Importing 20,000 SKUs freezes the admin page
  5. JS-405: Infinite scroll loads page 3 four times
  6. JS-406: Order history renders 10,000 rows and stutters
  7. JS-407: Split payments are off by a paisa
  8. JS-408: Opening the header fires the same /me request 5 times

L5 · Staff

  1. JS-501: Checkout pipeline skips the fraud check on errors
  2. JS-502: Cart totals drift out of sync with the items
  3. JS-503: Undo in the banner editor undoes three steps
  4. JS-504: Promo-code endpoint gets brute-forced
  5. JS-505: Editing one address changes it in old orders
  6. JS-506: Customers get charged twice when they double-tap Pay
  7. JS-507: A down payment provider takes the whole checkout with it
  8. JS-508: Duplicating a bundle crashes with "Maximum call stack"
JSmain.js
Loading editor and JavaScript test runner…
Build (ES2022)JavaScript ES2022
Checks