What is the purpose of JavaScript?
The purpose of JavaScript is to add functionality to web pages. Three common uses are
- reacting to mouse input such as movement and clicks.
- outputting data to the user and receiving input.
- modifying the HTML and CSS on a web page, typically in response to user input.
What software program will you be using to write JavaScript?
Visual Studio Code.
Why are external scripts preferable to scripts added directly within an HTML file?
External scripts are preferable because you can utilize the same script across multiple pages
without having to copy and paste it over and over.
Alert, confirm, and prompt are methods of which object?
The window object.