+
Interactive
Khan Academy

Challenge: Moles in Holes

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: Calculator

For Students 6th - Higher Ed
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....
+
Interactive
Khan Academy

Challenge: Bouncy Ball

For Students 6th - Higher Ed
Create your own bouncing ball program with this guided activity. Java Script code that sends a ball down the screen is provided. The task is to fix the code to make it bounce up when it hits the bottom of the screen and then down again...
+
Interactive
Khan Academy

Challenge: Number Analyzer

For Students 6th - Higher Ed
The JavaScript program you create will answer a simple question about a number. Is it positive, negative, or zero? Create a Boolean expression and use conditional if statements to test the value and then print the results. 
+
Interactive
Khan Academy

Challenge: Say Your Name

For Students 6th - Higher Ed
Practice creating and using functions in a simple JavaScript coding exercise. Move code inside the function definition and then add lines to call the simple function. Adding function parameters and return values are covered later in this...
+
Interactive
Khan Academy

Challenge: My Favorite Foods

For Students 6th - Higher Ed
Create a list of your favorite foods while you practice writing text in JavaScript. Use fill, textSize, and text functions. This is a quick activity that helps solidify basic skills. Expand with additional challenges such displaying food...
+
Interactive
Khan Academy

Project: Design an Animal

For Students 6th - Higher Ed
Combine creativity and coding in an activity where you are free to create your own animal. Try for something recognizable or not, the design is up to your unique students. The challenge is to use variables and variable expressions so...
+
Interactive
Khan Academy

Challenge: Funky Frog

For Students 5th - Higher Ed
You haven't seen any large-mouth frogs around have you? Hopefully, there will be lots of them as your young JavaScript coders complete this task to create a frog with a wide mouth and use variables in a way that connect the frog face...
+
Interactive
Khan Academy

Bonus Project: Custom Clothing

For Teachers 6th - Higher Ed
Clothing design, do you know any teenagers that are interested in that? How about mixing what they have learned about JavaScript programing and the creativity of designing a piece of clothing? This activity does just that. Practice the...
+
Interactive
Khan Academy

Challenge: Exploding Sun

For Students 6th - Higher Ed
Animating an object by moving it across a computer screen can be accomplished by drawing the object repetitively, each time adjusting some aspect of the drawing slightly. This activity is an easy introduction to animation in JavaScript,...
+
Interactive
Curated OER

Challenge: Tasty Tomato

For Students 6th - Higher Ed
Take a big bite out of the red tomato by practicing your use of the variables mouseX and mouseY in a JavaScript coding task. The activity will guide you step-by-step and will help young coders understand how to draw objects based on the...
+
Interactive
Khan Academy

Project: Crazy Painter

For Students 6th - Higher Ed
An activity titled Crazy Painter might not be high on your list of new things to try with your class; however, you will be happy to know this task has your young coders writing a mess-free painter application in JavaScript. The goal is...
+
Interactive
Khan Academy

Challenge: Parting Clouds

For Students 6th - Higher Ed
Let the sun shine as your young coders move the clouds across the sky while practicing animation coding skills in JavaScript. Younger learners may benefit from more guided help or a whole-class discussion before trying this coding task. 
+
Interactive
Khan Academy

Project: Public Transportation

For Students 6th - Higher Ed
Have your charges race their car creations across the screen in a JavaScript activity. Coders start with a small program that shows one wheel moving across the screen. Use this as a good place to start and challenge your young...
+
Interactive
Khan Academy

Challenge: Mouse Tracker

For Students 6th - Higher Ed
Create a small but useful little program that allows you move a dot with your mouse and see the coordinates change as the mouse moves.  Starting with a dot that moves with the mouse, add to this program the text of the points coordinates...
+
Interactive
Khan Academy

Challenge: Simple Shapes!

For Students 6th - Higher Ed
Now practice drawing a rectangle, ellipse, circle, and line by writing your own JavaScript code. Don't know where to start? No problem, you will be guided through creating every line of code. Getting an error message? Again, no problem,...
+
Interactive
Khan Academy

Challenge: Funny Face

For Students 6th - Higher Ed
A simple face can draw on the computer canvas using four lines of code each containing slightly different parameters to the ellipse function. Learners are guided through making changes to certain features such as making the mouth or eyes...
+
Interactive
Khan Academy

Challenge: Ice Cream Code

For Students 6th - Higher Ed
Practice adding color to your simple JavaScript picture. Three layers of ice cream in a bowl with a cherry on top, gives your beginning coders a tasty challenge. 
+
Interactive
Khan Academy

Project: What's for Dinner?

For Students 6th - Higher Ed
This creative project may make your young programmers hungry as they practice their Java Script coding. The task is fairly open ended: add shapes using different shape functions, including the fill and stroke functions to add color and...
+
Interactive
Khan Academy

Challenge: It's a Beautiful Day

For Students 6th - Higher Ed
Young coders build on their programming skills by adding color to their pictures. The background, fill, and noStroke functions are explored in the JavaScript coding activity.
+
Interactive
Khan Academy

Practice: Using Variables

For Students 6th - Higher Ed
A quick check of understanding is the focus in this short online quiz. Questions ask users to check out a short two- to four- line program and answer a question about the value of a variable. Get five questions correct in row to pass to...
+
Interactive
Khan Academy

Challenge: Bucktooth Bunny

For Students 6th - Higher Ed
Practice creating and using variables by creating variables for the bunny's eyes and teeth in this JavaScript task. Use the slider above the number to see the power of using variables in your code. 
+
Interactive
Khan Academy

Challenge: H for Hopper

For Students 6th - Higher Ed
An "H" is just three rectangles when you are trying to draw them on a computer screen. After watching the previous Intro to Drawing video this online programing activity guides young coders to draw the letter "H" on the screen. Help and...
+
Interactive
Khan Academy

Project: Ad Design

For Students 6th - Higher Ed
Let your young programmers' creativity and programming knowledge shine with this culminating activity. Coders put together everything they know about using text commands, drawing, and animation to create a unique ad. This activity could...