Please enable JavaScript to use CodeHS

Texas Web Design

Introduction to JavaScript

Students explore the basics of JavaScript, including variables, user input, mathematics, and basic graphics.

Lessons

8.1 Hello World

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

8.2 Variables

  • Variables
  • Variables Quiz
  • Basic Variables
  • Daily Activities

8.3 User Input

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

8.4 Basic Math in JavaScript

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

8.6 Booleans

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

8.7 Logical Operators

  • Logical Operators
  • Logical Operators Quiz
  • Light Switch
  • President
  • Wasting Time
  • +2 more

8.8 Comparison Operators

  • Comparison Operators
  • Comparison Operators Quiz
  • Voting Age
  • Grade Range
  • Rolling Dice
  • +1 more

8.9 If Statements

  • If Statements
  • If Statements Quiz
  • Negative Numbers
  • Great Names
  • Even and Odd
  • +5 more

8.10 General For Loops

  • General For Loop
  • General For Loop Quiz
  • Countdown
  • Count By Twos
  • Count By Sevens
  • +1 more

8.11 Local Variables and Scope

  • Local Variables and Scope
  • Local Variables and Scope Quiz
  • Return Values
  • Local Variables
  • JavaScript Exercises Badge

8.12 For Loop Practice

  • For Loop Examples
  • For Loop Examples Quiz
  • For Loop Sum
  • Better Sum
  • Factorial
  • +1 more

8.13 Javascript Control Structures Quiz

  • JavaScript Control Structures Quiz

8.14 Functions and Return Values 1

  • Functions and Return Values 1
  • Functions and Return Values Quiz
  • Double Number
  • Square with Return Values
  • Triple with Return Values
  • +1 more

8.15 Functions and Parameters 1

  • Functions and Parameters 1
  • Functions and Parameters Quiz 1
  • Double Number
  • Square
  • Triple

8.16 Functions and Return Values 2

  • Functions and Return Values 2
  • Functions and Return Values Quiz 2
  • Return Values
  • Is It Even?
  • Max

8.17 Functions and Parameters Quiz

  • Functions and Parameters Quiz

8.18 The Script Tag

  • The Script Tag
  • The Script Tag Quiz
  • Debugging Functions
  • Writing in the Console
  • Alert Introduction
  • +1 more

8.19 Using the DOM

  • getElementById
  • getElementById Quiz
  • Welcome to My Site!
  • Let's Get to Know You
  • Simple Math
  • +5 more

8.20 Creating Elements Using the DOM

  • Creating Elements Using the DOM
  • Creating Elements Using the DOM
  • Make a Button
  • The Whole Family
  • Roll Call
  • +1 more

8.21 Styling Elements Using Javascript

  • Styling Elements Using Javascipt
  • Styling Elements Using Javascript
  • Frankenstein Footnote
  • .(attribute) vs. setAttribute
  • Add a Link
  • +2 more

8.22 Functions in HTML

  • Functions in HTML
  • Functions in HTML
  • Changing Text Color
  • Change Text Color with Parameters
  • Announcement Function
  • +2 more

8.23 This Keyword

  • This Keyword
  • This Keyword
  • Clicking Multiple Paragraphs
  • Clicking with Event Listeners
  • Click Box
  • +2 more

8.24 Challenge: Make a Keyboard

  • Challenge Overview!
  • Make Button
  • Make Text
  • Make a Keyboard

8.25 Keyboard Interactions

  • Keyboard Events
  • Keyboard Events
  • Coordinate Plane
  • Make a Keyboard with Key Events
  • Key Alert
  • +2 more

Courses that include this module