JavaScript Assignment #13
Functions
This is an introduction to functions.
- Reconfigure the previous assignment to execute using a function.
- Specifically, when the user clicks on the button, the onClick event handler calls a function.
- The function then executes the statement that changes the background color to blue.
Here is a function example that you can use.
Next assignment ... Assignment #14