Interactive

Challenge: Moles in Holes

Curated and Reviewed by Lesson Planet
This Challenge: Moles in Holes interactive also includes:

Move the moles to the holes in this simple coding exercise on using parameters in function calls. The task is broken down for you and the function that draws the mole is already provided. Your job is to add JavaScript code to call the function and provide parameters that position the mole just above the hole. 

8 Views 5 Downloads
Pros
  • 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 help guide users through the coding exercise
Cons
  • You may need to adjust the function parameters to position the mole exactly, so that the program recognizes it as correct before confirming your completed exercise