Sam’s recipe box remembers every recipe now, but in the kitchen it still falls short. Sam watches the clock while the eggs boil, and the recipes are stuck in one browser. In this course, you’ll teach the page to run code later and to move data in and out as files.
You’ll type along in your own editor and browser, check each step on the page and in the browser’s developer tools, and practice in RealJS exercises with automated tests that check your code. You’ll learn how to:
- Run code later without freezing the page, and write functions that remember their own variables
- Schedule, repeat, and cancel timers, and count down from a deadline instead of counting ticks
- Split text into fields, and fetch the JSON and CSV files your app ships with
- Read a file the user picks, check it before you trust it, and save a new file for them to keep
In the project, you’ll make Sam’s recipe box kitchen-ready. The starter recipes load from a data file on the first visit, Export saves a backup file, and Import reads one back, merging recipes without duplicates. It also takes a friend’s plain CSV list.
Each recipe step can start its own cooking timer, with several running at once and each one able to pause and cancel. A Saved message clears itself after two seconds, and the filter field waits until you stop typing. Then you’ll explain your recipe box to the mentor.
This is an intermediate course, the sixth of seven in the Frontend JavaScript Without a Framework learning path. You need JavaScript basics, including objects and arrays of objects. You should also be able to redraw a page from its data with a render() function, build forms with accessible controls, and save an app’s data in localStorage and load it back safely. You’ll need a current version of Chrome or Edge, an editor, and a local server.
What’s Included:
- 25 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 7 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: