Book
Submodule 12.1: JavaScript Functions
Submodule 12.1: JavaScript Functions
Completion requirements
- What are functions?
- Parameters and Arguments
- Return
Exersice
Exercise
- Open your editor, create a new file and save it as
exersice12.3.html
in the folder "yourNameWEB2JS". - Copy the code below and paste it in the new file.
- Replace the “placeholder” in the script area, with the appropriate operator. We want to decide if a number is odd or even.
### --> %2