Interactive

Challenge: Smarter Button

Curated and Reviewed by Lesson Planet
This Challenge: Smarter Button interactive also includes:

Now, challenge your knowledge of Boolean operators even further with this JavaScript program to create a button that changes color after being pressed. This activity is the second in a series and would made a good follow up to the first button activity. 

9 Views 3 Downloads
Pros
  • Provides good practice of Boolean and operator, conditional statements, and mouseX and mouseY positions
  • The results from changes in code are immediately displayed so coders can develop a deeper understanding of their code
  • Simple, easy-to-follow steps are broken down to provide guidance and to help a variety of learners
Cons
  • None