Instructional Video5:26
Khan Academy

Intro to Objects, Computer Programming

6th - Higher Ed
When you introduce objects and object-oriented programming to your coding students, you are starting them on an important path. This introductory video shows how to replace the use of many variables with the use of a single object...
Instructional Video5:00
Khan Academy

Intro to Arrays, Computer Programming

6th - Higher Ed
Explore more cool programming features by learning how to use arrays in JavaScript code to tackle lists or sequences through a single variable. This video introduces arrays and specifically shows how they are defined and used.
Instructional Video6:07
Khan Academy

For Loops! A New Kind of Loop, Computer Programming

6th - Higher Ed
Now that you are familiar with while loops let's look at a new type of loop: the for loop. This video shows the three parts of the for loop: the start, the Boolean test, the value change, and how it differs from a while loop.
Instructional Video6:00
Khan Academy

Nested For Loops, Computer Programming

6th - Higher Ed
A loop within a loop is called a nested loop. It expands the repeating code based on two different variables. The video shows an example of drawing an image across and down a screen.
Instructional Video4:46
Khan Academy

Intro to While Loops, Computer Programming

6th - Higher Ed
Repetitive tasks, like the scenes from the movie Ground Hog Day, are common in computer programs. But how exactly do you program a piece of code to repeat specific instructions? This is where the While loop comes in handy. This video...
Instructional Video5:53
Khan Academy

If/Else - Part 2, Computer Programming

6th - Higher Ed
This is the second part of the introductory video on the if statement. It looks specifically at the else if clause in JavaScript code. Two examples are shown: one where the options are mutually exclusive and could have been programmed...
Instructional Video4:45
Khan Academy

If/Else - Part 1, Computer Programming

6th - Higher Ed
Do it, or else! In conversation, this sounds like an ultimatum, but when writing code, it's a normal way to communicate with a computer. This video shows how to extend our previously used conditional if statement to include the else...
Instructional Video6:37
Khan Academy

Booleans, Computer Programming

6th - Higher Ed
As one accumulates more life experiences, there are fewer and fewer things that are strictly one thing or another. There always seems to be some gray area or middle ground. Not so with Boolean data types! We are in a world of only two...
Instructional Video4:32
Khan Academy

Logical Operators, Computer Programming

6th - Higher Ed
As the author in this video states, "Life is complex." To handle this complexity, programming languages use something called Boolean operators. In a simple JavaScript code example, this video shows how to set up a conditional statement...
Instructional Video4:32
Khan Academy

Function Return Values, Computer Programming

6th - Higher Ed
Functions that do calculations usually need to return a value. In this video, a function calculates and returns the total number of donuts eaten based on the years someone has been alive. Hopefully, your charges will have eaten much less...
Instructional Video5:05
Khan Academy

Function Parameters, Computer Programming

6th - Higher Ed
Learn how functions in coding are even more helpful when you can pass parameters to them. The author shows how to modify a simple JavaScript function to have two parameters that help you position a repeated drawing to the correct place...
Instructional Video4:56
Khan Academy

Functions, Computer Programming

6th - Higher Ed
The next step in your class's development as young programmers is learning to define and use a simple function in JavaScript code. Younger students may require some additional explanations to help highlight the importance of functions....
Instructional Video5:06
Khan Academy

Local and Global Variables, Computer Programming

6th - Higher Ed
This video explains the difference between local and global variables in JavaScript programming without getting into the nitty gritty of variable lifetimes. Using a small coding example with a function defined, the author shows how a...
Instructional Video4:29
Khan Academy

More Mouse Interaction, Computer Programming

6th - Higher Ed
Creating interactive programs can be very exciting for new computer programmers. The author shows how to use mouseIsPressed within a conditional statement to create a small JavaScript program that responds to the user's mouse press.
Instructional Video4:23
Khan Academy

If Statements, Computer Programming

6th - Higher Ed
This video continues the Khan Academy tutorials and activities on writing code in JavaScript. Here, we are introduced to the conditional if statement. The result is a cute program that produces a bouncing ball. Your young programmers...
Instructional Video3:50
Khan Academy

Incrementing shortcuts, Computer Programming

6th - Higher Ed
Text messages full of abbreviations can be easier to understand once you know what the letters stand for. The same goes for reading code because computer programmers always devise ways to reduce typing. One typical line of code that...
Instructional Video4:19
Khan Academy

Terrific Text: Part One, Computer Programming

6th - Higher Ed
A program that says, "Hello world," is considered a classic in computer programming. Have your young coders join the ranks of the many others who have created one of these programs. Of course, putting one's flare on a classic is always...
Instructional Video3:57
Khan Academy

Terrific Text: Part Two

6th - Higher Ed
Start being creative with your JavaScript text. The speaker defines a string and how to combine strings. The program modeled here displays the text, and using the mouseX and mouseY functions, the text grows as it moves. Your beginning...
Instructional Video5:16
Khan Academy

More Drawing!

5th - Higher Ed
Now let's expand our coding to include ellipses, rectangles, and lines using this easy-to-follow video. We are also adding some formality to the language we use by defining the following terms: function, parameters, pixels, and the x and...
Instructional Video4:27
Khan Academy

Intro to Coloring

5th - Higher Ed
Programming without color is like watching the Wizard of Oz in black and white, you understand what's going on, but you lose the visual impact of the story. Here, we learn to add color to the images we are coding. Background,...
Instructional Video3:52
Khan Academy

Intro to Variables, Computer Programming

5th - Higher Ed
What are variables, and why do I need them? These are the questions answered in this basic computer programming video. The author stresses the importance of how the equal sign used in math class has a different meaning than the equal...
Instructional Video6:10
Khan Academy

The Power of the Docs, Intro to JS: Drawing and Animation, Computer Programming

5th - Higher Ed
While learning to code is an interesting academic pursuit in its own right, it also has other learning benefits. For one, coders learn how to learn. They continually explore, test, and draw conclusions about how certain things work. The...
Instructional Video6:15
Khan Academy

A Tour of Programming on Khan Academy

5th - Higher Ed
Explore, create, and make mistakes. This is the call to action in a video on how to use Khan Academy to learn to write Java code. The speaker encourages learners to feel comfortable with the programming environment that is provided on...
Instructional Video2:01
Khan Academy

What is Programming?, Intro to JS: Drawing and Animation, Computer Programming

5th - Higher Ed
It's time to unleash your class's inner geek. This introductory video starts one on a path of learning to code. It is the first in a series of videos that help you learn the fundamentals of coding. The series focuses on producing art and...