+
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

Project: Build-a-House

For Students 6th - Higher Ed
Start with a basic house created in JavaScript code and practice programming with loops as you add rows of windows, grass, flowers, or trees. How about some apples growing in the trees? You get the idea. Your coding students can let...
+
Interactive
Khan Academy

Challenge: Recipe Card

For Students 6th - Higher Ed
Anyone hungry? Create a recipe object in this coding activity. Include a title, number of servings, and ingredients. All of this adds up to one delicious practice opportunity for your programming students who are just learning how to use...
+
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

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: 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

Project: Make it Rain

For Students 6th - Higher Ed
Make it rain on your computer screen with this challenging JavaScript programming project. Modify the existing code of one little drop to create a downpour by using arrays and properties of arrays. But why stop there? How about some...
+
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: Favorite Fruits

For Students 6th - Higher Ed
Creating a list of favorite fruits is the perfect use of an array in coding. Practice defining and using arrays in this simple activity of creating an array and printing out each element in the array.  
+
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: Mickey Mouse Ears

For Teachers 6th - Higher Ed
My, what big ears you have! Novice JavaScript programmers adjust Mickey's ears to be proportional with his face and any changes to it. The key is to use variable expressions so that the values used are dependent upon the variable that...
+
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
Khan Academy

Practice: Using While Loops

For Students 6th - Higher Ed
Test your knowledge of loops with this short online quiz about using the while statement in JavaScript code. Get five questions correct in a row and you're done!
+
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: Lined Paper

For Students 6th - Higher Ed
Now create your own graph paper with this JavaScript programming activity! First, change the while loop that draws horizontal lines into a for loop. Then, add another for loop that draws the vertical lines. For an added challenge,...
+
Activity2:18
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

Challenge: Smarter Button

For Students 6th - Higher Ed
Now, challenge your knowledge of Boolean operators even further with this JavaScript program to create a button that changes color after being pressed. This activity is the second in a series and would made a good follow up to the first...
+
Interactive
Khan Academy

Project: Bookshelf

For Students 6th - Higher Ed
Start your own virtual library with this JavaScript programming project. Create arrays of book objects, and fill the shelves with different books, different colors, titles, authors, etc. Let coders create their own unique display. 
+
Interactive
Khan Academy

Challenge: Double Rainbow

For Students 6th - Higher Ed
Draw a rainbow over the rainbow. The second segment in a series of six has the class practice using functions to edit a program that draws a rainbow. After creating the function, the interactive lesson challenges pupils to create another...
+
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: 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: 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

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: Your First Button

For Students 6th - Higher Ed
Practice using conditional if statements, Boolean expressions, and Boolean operators by programming a user-selected button. This activity guides by using a small program that needs some modifications to work correctly.