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
- JS-101: Cart total shows ₹0499999
- JS-102: Free shipping charges ₹50
- JS-103: Prices show 1299.5 instead of ₹1,299.50
- JS-104: Sorting the listing reorders the home page
- JS-105: Checkout crashes for users without an address
- JS-106: One user's settings change everyone's defaults
- JS-107: Every size button selects XL
- JS-108: Product URLs break on apostrophes and dashes
L2 · Junior
- JS-201: Product page shows "undefined" when the API is down
- JS-202: Product page waits for reviews before showing the price
- JS-203: Search fires a request on every keystroke
- JS-204: Scroll tracking sends 400 events per second
- JS-205: Remove buttons stop working after "Load more"
- JS-206: Payment status check gives up after one blip
- JS-207: Slow coupon check freezes the checkout button
- JS-208: A corrupted cart in localStorage breaks the whole site
L3 · SDE-1
- JS-301: Cart badge keeps updating after the drawer closes
- JS-302: Delivery estimate recalculates 2,000 times per page
- JS-303: "Save changes" is enabled when nothing changed
- JS-304: Sales chart counts orders on the wrong day
- JS-305: Shared filter links lose the selected sizes
- JS-306: Search shows results for an old query
- JS-307: Bulk image upload crashes the browser tab
- JS-308: A review with <img onerror> runs code on the product page
L4 · Senior
- JS-401: Analytics sends one request per click
- JS-402: Recently viewed cache grows until the tab crashes
- JS-403: Closed mini carts keep re-rendering
- JS-404: Importing 20,000 SKUs freezes the admin page
- JS-405: Infinite scroll loads page 3 four times
- JS-406: Order history renders 10,000 rows and stutters
- JS-407: Split payments are off by a paisa
- JS-408: Opening the header fires the same /me request 5 times
L5 · Staff
- JS-501: Checkout pipeline skips the fraud check on errors
- JS-502: Cart totals drift out of sync with the items
- JS-503: Undo in the banner editor undoes three steps
- JS-504: Promo-code endpoint gets brute-forced
- JS-505: Editing one address changes it in old orders
- JS-506: Customers get charged twice when they double-tap Pay
- JS-507: A down payment provider takes the whole checkout with it
- JS-508: Duplicating a bundle crashes with "Maximum call stack"
Loading editor and JavaScript test runner…
Sign in to pick up this ticketEdit the code, run the checks and earn XP. Your drafts, XP and streak stay with your JioCoder account.
Sign in to editChecks