Please enable JavaScript to use CodeHS

California Software and Systems Development II

JavaScript Basics

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

Lessons

11.1 Hello World

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

11.2 Variables

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

11.3 User Input

  • User Input
  • User Input Quiz
  • Basic User Input
  • Dinner Plans
  • Mad Lib
  • +1 more

11.4 Basic Math

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

11.5 Random Numbers

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

11.6 Basic Functions

  • Basic Functions
  • Variables in Functions
  • Basic Functions Quiz
  • Function Flow
  • Digital Business Card
  • +1 more

11.7 Booleans

  • Booleans
  • Booleans Quiz
  • Boolean Exploration
  • Do You Have a Dog?
  • Booleans are Questions
  • +1 more

11.8 If/Else Statements

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

11.9 Logical Operators

  • Logical Operators
  • Logical Operators Quiz
  • Light Switch
  • Harry Potter
  • Weak Password
  • +4 more

11.10 Comparison Operators

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

11.11 While Loops

  • While Loops
  • While Loops Quiz
  • While Loop Countdown
  • Debugging: Best Name Ever
  • Level Up
  • +1 more

11.12 The Break Statement

  • The Break Statement
  • The Break Statement Quiz
  • Adding Up Numbers
  • Break Statement Reflection
  • Snake Eyes
  • +2 more

11.13 For Loops

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

11.14 Parameters

  • Parameters
  • Parameters Quiz
  • Greetings
  • Slope of a Line
  • Area of Triangle

11.15 Return Values

  • Return Values
  • Return Values Quiz
  • Mathematical Returns
  • Max
  • Is It Even?

11.16 Default Parameter Values

  • Default Parameter Values
  • Default Parameter Values Quiz
  • Default Printing
  • Farming International
  • Compound Interest

11.17 Intro to Arrays

  • Intro to Arrays
  • When to Use Arrays?
  • Intro to Arrays Quiz
  • Array Basics
  • List of Places to Travel
  • +1 more

11.18 Adding & Removing from an Array

  • Adding & Removing from an Array
  • Adding & Removing from an Array Quiz
  • A Note About Arrays as Parameters
  • Temperature Array
  • Exploration: Creating a To-Do List
  • +1 more

11.19 Iterating Through an Array

  • Iterate Through an Array
  • Iterate Through an Array Quiz
  • Print Shopping Lists
  • Test Average
  • Reverse List
  • +3 more

11.20 JavaScript Basics Quiz

  • JavaScript Basics Quiz
  • JavaScript Basics Badge

Courses that include this module