Close
Create an Account
Student

Student

Learn the basics of coding while building your own website
Parent

Parent

Track your student's progress and assign them challanges
Teacher

Teacher

Create a classroom and assign lessons to your students
Already have an account?
Log In
Close
I Am A
Student

Student

Learn the basics of coding while building your own website
Parent

Parent

Track your student's progress and assign them challanges
Teacher

Teacher

Create a classroom and assign lessons to your students
Don't have a Google account?
Log In
Close
Log In

Welcome Back!

Login to have access to all of Codemoji's features, including all of our HTML, CSS, and JS lessons!

Forgot password?
Don't have an account?
Sign Up
Close
Google Log In

Welcome Back!

Google Login allows you to connect with your classroom in the click of a button!

Don't have a Google account?
Log In
Close
Create a Student Account

Welcome to Codemoji!

Not a student? Click here
Already have an account?
Log In
Close
Create a Parent Account

Welcome to Codemoji!

Not a parent? Click here
Already have an account?
Log In
Close
Create a Teacher Account

Welcome to Codemoji!

Not a teacher? Click here
Already have an account?
Log In
Next Lesson
Lesson 6: Rotate Variables

Just like in CSS, variables can be changed to alter the output of a certain block of code.

Next

In this lesson, we will change a variable in a JavaScript function, making Bamboo spin around twice.

Next

Your task is to drag a rotate function from the actions container into the sequence container and then click on it to change the rotation amount from 360 to 720 degress. Once you have finished your task, hit run to see the function you've just programmed!

Got it!

Sorry, that's not correct! Make sure that you have added a rotate function to the sequence container and changed the rotation amount to 720 degrees. 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.


Try Again

Congratulations! You've just programmed Bamboo to do an animation! Click the X in the upper right corner to exit this screen.

View Animation

Lesson 6: Rotate Variables

Drop Here To Delete

Sequence

Run
Reset
X: 0, Y: 0
Play around in the playground.