- Take Home Review
- Functions
- Daily Challenge
- Method vs Function
- Scopes
- Take Home Challenge
- Anonymous Functions
- Parameters
function
Declaration vs Function Expressions
- Calling a Function
return
Keyword
- Arrow Functions
- Create a new codepen
- Write a function that accepts a
number
as an argument
alert
the user whether the given number
is even or odd
- Call your function
- Write a function that accepts a password (
string
)
- Validate the password using the following rules:
- Must be 6-20 characters long
- Must start with a letter
alert
the user if their password has been accepted or why their password was rejected