Interactive

Challenge: Calculator

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

Calculators aren't all that useful if they don't return the correct results. In this JavaScript programming exercise, beginning JavaScript coders are guided to fix the results returned by the functions so they return correct values. Practice in using function return values is the goal of this activity. 

3 Views 3 Downloads
Pros
  • Basic program is provided, and the learners need to adjust the code to return the correct values  
  • The results from changes in code are immediately displayed so coders can develop a deeper understanding of their code
  • More advanced students can modify exercise to add additional features 
Cons
  • None