Practical learning · 9 projects
JavaScript Programming (language in depth): projects and labs
Learn by doing: labs for each module, a project for each level, a capstone and a project exam. Every step is checked, and your work stays on this device.
Beginner
- Lab1 h · 4 stepsLab: which recharge plan is cheaper?Your family has three prepaid SIMs and everyone argues about plans: ₹299 for 28 days or ₹719 for 84? Write small functions with numbers and Math to find the cost per day, split out the 18% GST, compare two plans and print prices as rupees.Not started
- Lab1.5 h · 5 stepsLab: a family train ticketThe Kulkarni family is taking the train from Pune to Delhi. Write the code behind their e-ticket: a passenger line with a template literal, the berth type from a berth number, a fare that depends on age, the total for the family, and the chart status summary.Not started
- Lab1.5 h · 5 stepsLab: tokens and fees at a clinicArogya Clinic in Lucknow hands out paper tokens and works out fees in a notebook. Write the functions for its new app: token numbers with default parameters, a token machine that remembers its count (a closure), fees from an options object, a send-only-once guard, and a patient count across nested departments with recursion.Not started
- Lab1.5 h · 5 stepsLab: the stock list of a kirana shopGupta General Store in Indore keeps its stock as a list of objects. Write the functions its billing app needs: bill lines with map, a low-stock list with filter, stock value and totals per category with reduce, restocking without changing the old list, and a safe deep copy of an order.Not started
- Project4 h · 6 stepsProject: class results and report cardsThe class teacher of 10-B spends a whole weekend on results in a spreadsheet. Write the program instead: totals and percentages, grades, pass and compartment rules, a rank list with shared ranks for ties, the topper of each subject, and a neatly printed report card for each student.Not started
Intermediate
- Project7 h · 7 stepsProject: Hisaab, a UPI statement analyserBuild Hisaab, which turns a UPI statement export into answers: a Txn class with validation, a parser that reports bad lines instead of crashing, regular expressions for UPI IDs and reference numbers in bank SMS, spend per payee with Map, monthly totals in Indian time with Intl, saving with JSON, and downloading every page from an API with an async generator.Not started
- Project exam1.25 h · 6 tasksProject exam: a cab-booking appIn 75 minutes, write the JavaScript core of ChaloCab: fares from a rate table, surge pricing by the hour in India, reading a booking from a text message, driver statistics with Map, finding the first driver who accepts with Promise.any and a timeout, and a wallet class with private fields.Not taken
Expert
- Project7 h · 6 stepsProject: a typed inventory moduleWrite the inventory module of DukaanOS, a point-of-sale app for small shops, in TypeScript: validate outside data into a Result type, write generic helpers, update products safely with utility types, speed up lookups with memoize, calm a search box with debounce, and test a notifier with hand-made test doubles.Not started
- Capstone14 h · 10 stepsCapstone: Hisaab-Kitaab, a trip expense splitterFour friends went to Goa and nobody knows who owes whom. Build Hisaab-Kitaab, a library and command-line tool: an Expense class with fair paise-exact shares, a parser for plain sentences like "Ravi paid 1350 for dinner split Asha, Ravi, Priya", balances, the fewest sensible transfers to settle up, rupee formatting, saving trips as JSON, currency conversion for trips abroad, a running balance generator, and a Node.js CLI with a test suite.Not started