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
Learn to Code: Working with Variables Instructional VideoLearn to Code: Working with Variables Instructional Video
Publisher
Lifehacker
Resource Details
Curator Rating
Educator Rating
Not yet Rated
Grade
9th - Higher Ed
Subjects
STEM
3 more...
Resource Type
Instructional Videos
Media Length
6:02
Audiences
For Teacher Use
1 more...
Duration
15 mins
Instructional Strategies
Demonstration
3 more...
Technology
Projection
Internet Access
Year
2011
Usage Permissions
Fine Print
Instructional Video

Learn to Code: Working with Variables

Curated and Reviewed by Lesson Planet

Building on prior knowledge about defining variables, the second video in this series on coding explains how to perform simple operations with data in JavaScript. Introducing first the concept of statements, the video goes on to demonstrate how to write and manipulate code involving a set of four variables.

11 Views 4 Downloads
CCSS: Adaptable

Concepts

Computer Programming, computer code, javascript, computer science, vocational training, technology resources

Instructional Ideas

  • View this video during a computer programming lesson on creating statements in JavaScript
  • Occasionally pause the video to add more detailed instruction, answer questions, and allow students to follow along
  • Allow pupils to view the video independently, completing a set of coding tasks afterward to demonstrate their learning

Classroom Considerations

  • This video is hosted on YouTube

Pros

  • Presenter uses screen capture to visually model the coding concepts described in the video
  • Thorough explanations are provided for each line of code

Cons

  • Content material is a little dry, and may not fully engage all learners
  • Resource is a YouTube video, which may or may not be permitted by your school site's Internet usage policy

Common Core

SL.9-10.2 SL.11-12.2

See similar resources:

Instructional Video

Learn to Code: Variables and Basic Data Types

Lifehacker
Explore the fundamentals of coding in Javascript with the first video of this four-part series. After learning about the three basic data types — strings, numbers, and Boolean — young programmers are taught how to...
7 mins 9th - Higher Ed STEM
CCSS: Adaptable
Instructional Video

Learn to Code: Understanding Functions and Making a Guessing Game

Lifehacker
Here's where it all comes together. Using the skills learned in the previous three videos, the final installment of this series on JavaScript explores how to create functions. By the end of the video, young programmers will be able...
8 mins 9th - Higher Ed STEM
CCSS: Adaptable
Instructional Video

Learn to Code: Arrays and Logic Statements

Lifehacker
Young programmers learn about the concepts of arrays and logic statements with the third video in this introductory series on JavaScript. Starting with a brief explanation of arrays, the resource goes on to provide clear and...
14 mins 9th - Higher Ed STEM
CCSS: Adaptable
Instructional Video

Mouse Interaction, Computer Programming

Khan Academy
Drawing objects based on where the user's mouse is located can be a beneficial and fun coding activity for new JavaScript coders. Here, the speaker shows how to use the mouseY and mouseX variables in a small section of code that draws a...
3 mins 6th - Higher Ed STEM
Instructional Video

How Exactly Does Binary Code Work?

TED-Ed
As far as languages go, binary is pretty easy to learn. Scholars watch an informative video on binary code. It explains the basics of how binary code works, and then shows how people encode colors and sound as binary code.
5 mins 9th - 12th STEM
Lesson Plan

While Loops

Code.org
Bring your pupils in the loop with while loops. Scholars learn how to modify conditional statements to produce while loops in the 14th lesson of the series. They use flowcharts to understand loops and then program some examples of...
9th - 12th 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