Exercise - Build a to-do list

Completed

In this exercise, you build a to-do list app that saves tasks to a file so they persist between runs.

Launch the exercise and follow the instructions.

Button that launches the to-do list app Python exercise in a new browser tab.

Extend with GitHub Copilot

After completing the exercise, try extending it with GitHub Copilot:

  • Ask Copilot to add a feature that marks a task as complete without removing it from the file.
  • Ask Copilot to add a summary that shows how many tasks are open versus complete each time the app runs.

Review each suggestion carefully before accepting it—make sure you understand what the code does and that it behaves the way you expect.