JavaScript Functions
Learning Objective
I can write a JavaScript function to perform a specific task.
Lesson Flow
Watch Video
JavaScript for Beginners - Functions
saperis
Guided Notes
Key concepts students will learn:
- •
A JavaScript function is a sub program that performs a specific task, such as calculate, print, or process data.
- •
To declare a function, you start with the function keyword, then the function name, parentheses, and curly brackets containing the code to be executed.
- •
A function can only return one thing, but you can return an object containing multiple values if needed.
Practice
9 questions • Multiple choice & Short answer & True/false & Fill in the blank
Exit Ticket
“Write a JavaScript Function called 'stackPancakes' that will have Karol the dog place three balls on one spot. Remember to include the function key word and curly brackets. ”
Teacher Guide
Get the complete package:
- Answer keys for all questions
- Differentiation strategies
- Extension activities
- Printable student handouts
