Build a simple task manager!
Combine lists, loops, and input to build a working to-do list app that lets you add, view, and complete tasks!
Time to build something useful! A to-do list app lets you add tasks, view them, mark them as done, and remove them. You will use lists to store tasks, loops to display them, and input to interact with the user.
๐ก Think of it like this:
Think of this app like a sticky note board. You write tasks on sticky notes (add to list), look at the board to see what needs doing (display list), and remove notes when done (remove from list).
This project brings together lists, loops, and user interaction. It is a mini version of real apps like Google Tasks or Apple Reminders โ built entirely by you!
Where you see this in real life:
The first to-do list app was just a pen and paper! Digital to-do apps have been around since the 1980s.
Time to build something useful! A to-do list app lets you add tasks, view them, and remove them when done. You will use lists, loops, and a while loop for the menu!
First, we create an empty list and a menu that keeps running until the user chooses to quit.
Click โถ Run to see the output!Try adding these features to your to-do app:
Click โถ Run to see the output!What does the break statement do in a while loop?