Timers and Files Quiz
Interactive Quiz ⋅ 11 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Timers and Files.
By working through this quiz, you’ll revisit when a timer’s callback runs, how JavaScript finds a name, what a closure keeps after its function returns, how a page clears a message on time, what split() and join() give you, the two steps of loading a file with fetch(), and what a page can do with the files on Sam’s computer.
Most questions show a short piece of Sam’s recipe box and ask what the Console or the page shows when it runs in Chrome or Edge. Good luck!
The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Timers and Files
Make a browser app keep time and share its data as files. You'll write functions that remember their variables, run timers that count down from a deadline, load JSON and CSV files, and let users export and import their recipes.