Welcome Back!
Login to have access to all of Codemoji's features, including all of our HTML, CSS, and JS lessons!
Welcome Back!
Google Login allows you to connect with your classroom in the click of a button!
Welcome to Codemoji!
Welcome to Codemoji!
Welcome to Codemoji!
Functions can have any number of parameters, all the way from 0 to infinity.
In this lesson, we will change a variable in a JavaScript function, making Bamboo scale down to half of his original size.
Your task is to drag a scale function from the actions container into the sequence container and then click on it to change the scale amount from 1.5 to .5. Once you have finished your task, hit run to see the function you've just programmed!
Sorry, that's not correct! Make sure that you have added a scale function to the sequence container and changed the scale amount to .5. If you need a reminder about your task, click on the white triangle in the bottom left corner of the screen to bring up the tip again.
Congratulations! You've just programmed Bamboo to do an animation! Click the X in the upper right corner to exit this screen.
Lesson 8: Scale Variables
Sequence