Curated and Reviewed by
Lesson Planet
This Creating Functions lesson plan also includes:
Quit repeating yourself ... you can make this simpler! Rather than repeating the same set of code over and over, class members learn to build and call functions in a series of challenges in App Lab. In the end, they combine functions to create a design that involves many repetitive steps.
10 Views
7 Downloads
Instructional Ideas
- Have a discussion with the class to point out that the term function here does not have the same meaning as the term function has in their math class
- Have class members create their own designs using the functions they created
Classroom Considerations
- Even though pupils work in pairs, be sure they know they are each responsible for their own programs
- The fifth in a series of 10 lessons
Pros
- The lesson plan highlights a misconception that individuals tend to make when defining functions in JavaScript
- Contains a link to the forum, so you can get hints from other teachers
Cons
- Challenges five and six can be confusing, leading individuals to think they should draw the entire diamond