CAPSTONEJavaScript · about 10 to 15 hours

Ship a small Ledgerwick

Priya Raman · Product ManagerFeature request

“We're giving a few studios an early Ledgerwick to try, and it has to be small and solid rather than big. Build it in plain JavaScript, HTML and CSS, no framework: a client list, invoices with line items, a coupon, and a CSV export for the accountant. Money is whole cents everywhere and shown as dollars. Everything is saved in the browser, so a refresh loses nothing. It has to work with only a keyboard and on a phone. Deploy it to a public https link and keep the code in a public GitHub repository.”

REQUIREMENTS
  • Add, edit and delete clients with a name and an email; the same email can't be added twice, whatever its capitals or spaces
  • Create an invoice for a client with line items: description, quantity and unit price
  • Work out every total in whole cents and show it as dollars, like $1,250.00
  • Apply a coupon, a percentage or a fixed amount, without the total ever going below $0.00
  • Mark an invoice draft, sent, paid or void; filter the list by status and sort it by due date
  • Show which invoices are overdue, counting from today's date
  • Export the invoices as a CSV file that opens in a spreadsheet, commas in descriptions included
  • Save everything in localStorage, so it's all still there after a refresh
  • Empty lists and form errors say what to do next

HOW IT'S REVIEWED

  1. Build itIn a public GitHub repository. Deploy it to a link that starts with https:// (GitHub Pages, Netlify and Vercel are free).
  2. Submit both linksWe check at once that the repository is public and the site responds, with a page title and a viewport tag.
  3. We review itBy hand, against the checklist on this page. You get an email: approved, or what to change. Change it and submit again as often as you need.
  4. It goes on your profileAn approved capstone is shown on your public Workbench profile, with its live link and its code.