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: Variables and Basic Data Types Instructional VideoLearn to Code: Variables and Basic Data Types 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:33
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: Variables and Basic Data Types

Curated and Reviewed by Lesson Planet
This Learn to Code: Variables and Basic Data Types instructional video also includes:
  • Vocabulary
  • Join to access all included materials

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 create, define, and manipulate variables in simple lines of code.

69 Views 27 Downloads
CCSS: Adaptable

Concepts

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

Instructional Ideas

  • Supplement a computer programming unit on JavaScript with this series of instructional videos on coding basics
  • Allow students to follow along and practice the coding techniques explained by the presenter
  • Pause the video as needed to offer more detailed instruction or answer any questions
  • Have students watch the video individually, providing them with a series of coding tasks to perform afterward to demonstrate their learning

Classroom Considerations

  • This video is hosted on YouTube

Pros

  • Video uses screen capture to offer visual demonstrations of the coding concepts being presented
  • Clear explanations are provided for each line of code written in the video

Cons

  • Presentation of the content material is a little dry and may not capture the engagement of all learners
  • Resource is a YouTube video, which your site's Internet usage policy may or may not allow

Common Core

SL.9-10.2 SL.11-12.2 L.9-10.6 L.11-12.6

See similar resources:

Lesson Plan

Star Wars: Building a Galaxy with Code

Code.org
Welcome to the code side. The interactive lesson introduces coding in a game format with familiar characters. Young computer experts learn to develop code to control the interaction of the characters in the game. The activity ends with...
3 mins 6th - 12th STEM
Lesson Plan

Learning Roomba Module 3: Controlling Movement

Drexel University
Look at it go. The resource, the third in a series of five using a Roomba, explains the different types of movements a Roomba makes, then challenges pupils to create computer codes that will cause the Roomba to travel specific paths.
9th - 12th STEM
Activity

Coding Without Computers

DiscoverE
See what it feels like to be a robot. Scholars use programming vocabulary to program a human robot and test out their codes by acting them out. The code should result in stacking six cups into a pyramid.
6th - 12th STEM
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: Working with Variables

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

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
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
Lesson Plan

Cracking the Code

Code.org
Scholars learn how to crack secret codes as they continue reading from the Blown to Bits and try to crack the random substitution cipher. They also begin learning about the Vigenere cipher. 
9th - 12th STEM
Interactive

Challenge: Parting Clouds

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