What is a function in JavaScript?
Functions can be written once and used over and over.
What are the two key building blocks of JavaScript?
Functions and events.
What is an event in JavaScript?
An event is what responds to user behavior.
How is JavaScript separated from HTML?
With the ‘< script >’ tag.
What is an alternative method of linking JavaScript to HTML without mixing the code?
By using the ‘< script >’ tag with the ‘src’ attribute, you can link a JavaScript file to HTML.