- What is the DOM?
The DOM or Document Object Model is an object which allows us to manipulate a webpage.
- Explain how an event listener function works in JavaScript.
An event listener function, when applied to something, works by "listening" for an event, and when it detects that event, executes a function that was passed in as an argument.
- What is a Constructor Function?
A constructor function is a function which allows us to create new objects. The constructor acts like a template, passing in keys and values to the new object, based on the arguments it has been given as well as default values established in the function.
7 - straight killing it!! Good job man