What you'll build
- Add, complete, and remove tasks.
- Reject blank task titles.
- Show how many tasks remain.
Your building plan
- Model a task with an id, title, and completed flag.
- Add a form for creating a task.
- Render the list with a completion checkbox.
- Filter the list to find incomplete tasks.
- Add a persistent store before deployment.
Start with a small prototype
main.jsYour ideas, in code.
Loading your editor…
Run your code to see the output here.
Ready to buildUTF-83 lines
Share your project with the world
The finished project is a complete HTML file. Download it and open it in a browser to explore the interface and its JavaScript.
- Move your interface into an
index.htmlfile and your logic intoscript.js. - Test keyboard controls, small screens, and empty or invalid inputs.
- Commit your files to a new repository without any secrets.
- Choose a static hosting service, connect the repository, and deploy the project.
- Open the published URL on another device and try the complete flow.