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

467 B

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
  1. Use JavaScript closures to perform the following:
  • write functions within functions
  • enclose the DOM
  • close script blocks
  1. Fill in the blank: Closures are useful when one or more functions need to access an outer function's...
  • arrays
  • scope
  • functions