Friday, April 24, 2020

10 Hours of Coding-Intro to JS: Drawing and Animation-Part 5







In this hour I completed the lesson of "Variables." I finished 
the Funky Frog challenge.


I learned how to use the "var" code in more depth but this time 
it was for changing the position and not the size. It can be used 
for the values of x and y as seen in the code below. I used this for 
the frog so I could move the whole thing at once instead of having
to move each part of the frog.

In the next hour I will be starting the "Animation Basics" lesson.







No comments:

Post a Comment