Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

JavaScript Basics Course (How To)

via Treehouse

Overview

JavaScript is a programming language that drives the web: from front-end user interface design to server-side backend programming, you'll find JavaScript at every stage of a website and web application. In this course, you'll learn the fundamental programming concepts and syntax of the JavaScript programming language.

What you'll learn

  • What JavaScript is and where it is used
  • The basic syntax of the JavaScript programming language
  • Basic programming concepts like variables, data types, and conditional statements
  • How to troubleshoot programming problems

Syllabus

Hello, JavaScript!

JavaScript is the most popular programming language on the planet. It drives millions of web sites and applications, powers web servers, and is used to build desktop and mobile apps. In this stage, you'll create your first JavaScript program and learn how to troubleshoot your programming mistakes.

Chevron 12 steps
  • JavaScript Everywhere

    6:20

  • What to Expect

    2:55

  • JavaScript Everywhere Review

    5 questions

  • Display Messages with JavaScript

    5:18

  • Your First JavaScript Program

    2:56

  • Add JavaScript to HTML

    6:58

  • Debug JavaScript in the Console

    5:52

  • Adding Scripts and JavaScript Commands Review

    6 questions

  • JavaScript Practice Challenge

    2:39

  • JavaScript Challenge Solution

    1:45

  • instruction

    Code Challenges and Getting Help

  • Write JavaScript Statements

    4 objectives

Storing and Tracking Information with Variables

Learn how to use variables to store information that changes during a program, like a score in a game, or a sales total. You'll also learn about declaring variables with the keywords let and const.

Chevron 9 steps
  • Introducing Variables

    6:33

  • Create a Variable

    1 objective

  • instruction

    Naming Variables

  • Creating and Naming Variables Review

    6 questions

  • Change the Value in a Variable

    3:41

  • Define Variables with let and const

    6:21

  • instruction

    Spacing and New Lines in JavaScript

  • Update the Value of a Variable

    1 objective

  • Variables Review

    6 questions

Working with Strings

Learn how to create, transform, and manipulate strings, as well as a more intuitive way to work with strings with template literals.

Chevron 12 steps
  • Introducing Strings

    6:43

  • Transform and Manipulate Strings

    6:04

  • Introducing Strings Review

    5 questions

  • Capture Input

    4:05

  • Combine Strings

    8:28

  • Combine and Manipulate Strings

    3 objectives

  • Template Literals

    5:19

  • Display the Value of a String on a Page

    7:55

  • Variables and Strings Challenge

    2:57

  • Variables and Strings Challenge Solution

    5:32

  • Combine Strings and Template Literals Review

    6 questions

  • Write a Template Literal

    1 objective

Making Decisions in Your Code with Conditional Statements

Conditional statements let you control the "flow" of your program. You're able to run different code based on conditions in your program.

Chevron 17 steps
  • Introducing Conditional Statements

    8:39

  • Comparison Operators

    7:19

  • Conditional Statements and Operators Review

    7 questions

  • Use Comparison Operators

    1 objective

  • Boolean Values

    7:32

  • Program Multiple Outcomes

    5:45

  • Booleans and Else If Review

    5 questions

  • Write an 'if' Statement

    1 objective

  • Add an 'else if' Clause

    1 objective

  • Add a Final 'else' Clause

    1 objective

  • Test Multiple Conditions With the && Operator

    3:57

  • Test Multiple Conditions With the || Operator

    4:04

  • Document Your Code with Comments

    4:43

  • Multiple Conditions and JavaScript Comments Review

    6 questions

  • The Conditional Challenge

    2:17

  • The Conditional Challenge Solution

    6:23

  • Use Multiple Conditions

    1 objective

Taught by

Guil Hernandez

Reviews

Start your review of JavaScript Basics Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.