Lesson Planet
Search educational resources
  • Sign In Try It Free
  • AI Teacher Tools
    • Discover Resources Search reviewed educational resources by keyword, subject, grade, type, and more
    • Curriculum Manager (My Content) Manage saved and uploaded resources and folders To Access the Curriculum Manager Sign In or Join Now
    • Browse Resource Directory Browse educational resources by subject and topic
    • Curriculum Calendar Explore curriculum resources by date
    • Lesson Planning Articles Timely and inspiring teaching ideas that you can apply in your classroom
    • Our Story
    • Frequently Asked Questions
    • Testimonials
    • Contact Us
  • Pricing
  • School Access
    • Your school or district can sign up for Lesson Planet — with no cost to teachers
      Learn More
  • Sign In
  • Try It Free

Hi, what do you want to do?

Create a lesson plan
Create a lesson plan
Generate resources with 80+ AI teacher tools
Generate resources with 80+ AI teacher tools
Search 200,000 instructional videos
Search 200,000 instructional videos
Find a teaching resource
Find a teaching resource
Modifying Arrays, Computer Programming Instructional VideoModifying Arrays, Computer Programming Instructional Video
Publisher
Khan Academy
Resource Details
Curator Rating
Educator Rating
Not yet Rated
Grade
6th - Higher Ed
Subjects
STEM
1 more...
Resource Type
Instructional Videos
Media Length
5:51
Audiences
For Teacher Use
1 more...
Duration
10 mins
Instructional Strategies
Flipped Classroom
1 more...
Accessibility
Closed Captions
1 more...
Year
2014
Usage Permissions
Creative Commons
BY-NC-SA: 3.0
cc
Instructional Video

Modifying Arrays, Computer Programming

Curated and Reviewed by Lesson Planet
This Modifying Arrays, Computer Programming instructional video also includes:
  • JavaScript Guide
  • Modifying Arrays, Computer Programming (HTML version from khanacademy.org)
  • Join to access all included materials

An instructional video combines arrays, loops, and mouse clicks. The author shows how to modify JavaScript code to add a balloon each time the mouse is clicked. The video also shows two different ways to add to the end of the array: one using the array element and the other using the Push method.

3 Views 1 Download

Concepts

javascript, computer code, Computer Programming, coding, computer drawing, animation, technology resources

Additional Tags

programming in javascript, drawing and animation coding, using arrays in coding

Classroom Considerations

  • This video is hosted on YouTube

Pros

  • Provides a nice progression of gradually adding complexity to code to help coders develop a deeper understanding 

Cons

  • None

See similar resources:

Instructional Video

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

Khan Academy
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...
2 mins 5th - Higher Ed STEM
Instructional Video

Local and Global Variables, Computer Programming

Khan Academy
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...
5 mins 6th - Higher Ed STEM
Instructional Video

Intro to Variables, Computer Programming

Khan Academy
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...
4 mins 5th - Higher Ed STEM
Instructional Video

Terrific Text: Part One, Computer Programming

Khan Academy
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...
4 mins 6th - Higher Ed STEM
Instructional Video

A Tour of Programming on Khan Academy

Khan Academy
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...
6 mins 5th - Higher Ed STEM
Instructional Video

If Statements, Computer Programming

Khan Academy
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...
4 mins 6th - Higher Ed STEM
Instructional Video

Logical Operators, Computer Programming

Khan Academy
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...
5 mins 6th - Higher Ed STEM
Instructional Video

Intro to While Loops, Computer Programming

Khan Academy
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...
5 mins 6th - Higher Ed STEM
Instructional Video

Nested For Loops, Computer Programming

Khan Academy
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.
6 mins 6th - Higher Ed STEM
Interactive

Challenge: Ice Cream Code

Khan Academy
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. 
6th - Higher Ed STEM
Try It Free
© 1999-2026 Learning Explorer, Inc.
Teacher Lesson Plans, Worksheets and Resources

Sign up for the Lesson Planet Monthly Newsletter

Open Educational Resources (OER)

  • Health
  • Language Arts
  • Languages
  • Math
  • Physical Education
  • Science
  • Social Studies
  • Special Education
  • Visual and Performing Arts
View All Lesson Plans

Discover Resources

  • Our Review Process
  • How it Works
  • How to Search
  • Create a Collection

Manage Curriculum

  • Edit a Collection
  • Assign to Students
  • Manage My Content
Contact Us Site Map Privacy Policy Terms of Use