You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web-Dev-For-Beginners/3-terrarium/3-intro-to-DOM-and-closures/.github/post-lecture-quiz.md

18 lines
491 B

4 years ago
*Complete this quiz after the lesson by checking one answer per question.*
1. [The DOM is a model to represent a document on the web]
- [ ] [true]
- [ ] [false]
2. [Use JavaScript closures to perform the following:]
- [ ] [write functions within functions]
- [ ] [enclose the DOM]
- [ ] [close script blocks]
3. [Fill in the blank: Closures are useful when one or more functions need to access an outer function's ______]
- [ ] [arrays]
- [ ] [scope]
- [ ] [functions]