Please enable JavaScript to use CodeHS

Nebraska Introduction to Computer Science and Technology

Programming in JavaScript

Students learn the basics of JavaScript including variables, user input, mathematics, and functions.

Lessons

8.1 Hello World

  • Hello World
  • Hello World Quiz
  • Hello World
  • Your Name and Hobby

8.2 Variables

  • Variables
  • Live Coding: Variables
  • Variables Quiz
  • Basic Variables
  • Daily Activities
  • +1 more

8.3 User Input

  • User Input
  • User Input Quiz
  • Basic User Input
  • Dinner Plans

8.4 Basic Math

  • Basic Math
  • Basic Math Quiz
  • Simple Calculator
  • Dollars to Pounds
  • Dividing Up Groups
  • +2 more

8.5 Random Numbers

  • Random Numbers
  • Random Numbers Quiz
  • Rolling a Die
  • Treasure Chest Loot
  • Multiplication Practice
  • +1 more

8.6 Basic Functions

  • Basic Functions
  • Variables in Functions
  • Basic Functions Quiz
  • Abstracting Your Day
  • Function Flow
  • +2 more

8.7 Booleans

  • Booleans
  • Booleans Quiz
  • Boolean Exploration
  • Do You Have a Dog?

8.8 If/Else Statements

  • If Statements
  • If Statements Quiz
  • Are You Logged In?
  • Is It Raining?
  • Mood Playlist
  • +1 more

8.9 Logical Operators

  • Logical Operators
  • Logical Operators Quiz
  • Light Switch
  • Weak Password
  • Logical Operators Game
  • +1 more

8.10 Comparison Operators

  • Comparison Operators
  • Comparison Operators Quiz
  • Great Names
  • Grade Range
  • Even and Odd
  • +1 more

8.11 While Loops

  • While Loops
  • While Loops Quiz
  • While Loop Countdown
  • Debugging: Best Name Ever
  • Inventory

8.12 For Loops

  • For Loops
  • For Loop Exploration
  • Chalkboard
  • Count By Twos
  • Eating Apples
  • +2 more

8.13 Programming in JavaScript Quiz

  • Programming in JavaScript Quiz