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

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

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

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...
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: 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...
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: 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: Magic 8-Ball

For Students 6th - Higher Ed
Your student programmers will enjoy creating their own Magic 8-ball in this JavaScript activity. This a great opportunity to practice using if and else statements based on randomly generated numbers. What will you ask the 8-ball? 
Interactive
Khan Academy

Challenge: Flashy Flash Card

For Students 6th - Higher Ed
Create your own flash card in this JavaScript coding activity. Modify the given code so that the answer is revealed when the mouse is pressed. Provides good practice of conditional if-else statements.
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,...
Interactive
Khan Academy

Challenge: A Loopy Ruler

For Students 6th - Higher Ed
Now try writing your first while loop! This activity guides you through creating a small JavaScript program that marks the top of the screen with a ruler. Use the while loop to write the numbers across the screen.
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: Constellation Maker

For Students 6th - Higher Ed
Populate your own universe with constellations and stars. Modify the existing JavaScript code to use the push method of arrays, and mouseX and mouseY to draw a star based on the click and position of the mouse. 
Interactive
Khan Academy

Challenge: Movie Reviews

For Students 6th - Higher Ed
Create an array of objects in a JavaScript coding practice activity. Movie titles and reviews for multiple movies are collected in an array of objects and then printed out with a looping construct. 
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

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

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

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

Other popular searches