Module 7 of 14
Keep Your Tasks After Refreshing
What you'll learn
- How to keep tasks in the same browser on the same computer.
Step-by-step instructions
- Type this message and press Return:
Please make my task list remember its tasks after I refresh the browser page. It should also remember which tasks are marked finished. Keep the saved tasks only in this browser on this computer. Do not add any other features. Explain how to test it in plain English.
- Add Buy groceries and Call Mum.
- Mark Buy groceries as finished.
- Refresh the page.
How to check it worked: Both tasks remain, and Buy groceries is still marked finished.
If something doesn't work
After I refreshed the page, my tasks disappeared. I expected them to stay on the list. Please fix just that one problem.
What just happened?
Codex told the app to save a small amount of information inside your browser. This is why the tasks can return when you refresh the page.
The information stays only in that browser on that computer. It does not yet share your task list with other people or devices.
Module checklist
- Tasks remain after refreshing.
- Finished tasks remain marked finished.
- Remove buttons still work.
Next module: You will improve the page's appearance without changing how it works.