Practice writing some JavaScript functions.
After completing this assignment, you should…
- Understand how to write a JavaScript function.
- Understand the terminology related to defining functions.
- A repo containing at least:
functions.js
index.html
- No JSHint warnings or errors
- Functions must be named exactly as the instructions describe.
Copy and paste the contents of the functions.js file into your own repo. Read the comments in the file and complete the instructions. Be sure to validate the input for all functions.
Some of the problems in this assignment have the skeleton of the functions already created for you. In the later / harder problems you will need to create the functions from scratch.