Curated and Reviewed by
Lesson Planet
This Challenge: Double Rainbow interactive also includes:
- JavaScript Guide
- Student Reference
- Join to access all included materials
Draw a rainbow over the rainbow. The second segment in a series of six has the class practice using functions to edit a program that draws a rainbow. After creating the function, the interactive lesson challenges pupils to create another rainbow using the same function.
8 Views
7 Downloads
Concepts
Additional Tags
Instructional Ideas
- After going through the tutorial, have pupils develop code to create three rainbows of different size and location
- Ask class members to explain what each element in the drawRainbow function does
Classroom Considerations
- Individuals should be familiar with using functions to define objects
Pros
- Provides hints while participants are creating the code
- The resource includes projects that employ the learned skill
Cons
- None