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

Treehouse

JavaScript Basics

via Treehouse

This course may be unavailable.

Overview

JavaScript is a programming language that drives the web: from front-end user interface design, to backend server-side programming, you'll find JavaScript at every stage of a web site 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
  • Basic programming concepts like variables, data types and conditional statements
  • What functions are and why they're useful
  • How to troubleshoot programming problems
  • The basic syntax of the JavaScript programming language

Syllabus

Introducing JavaScript 

Learn about the most popular scripting language on the planet. The language that drives millions of interactive web sites, powers fast web servers and can even be used to build desktop applications. In this stage, you'll create your first JavaScript program and learn how to troubleshoot your programming mistakes.

Storing and Tracking Information with Variables

Learn how to use variables to store information that changes during a program, like the score in a game, or a sales total. You'll also learn about different data types in JavaScript like string, numbers and boolean values.

Working With Numbers

Numbers are everywhere in programming. You use them to track a player's score in a game, to calculate the cost of shipping a product, or just to count the number of times a "Like" button was clicked on a page. In this section of the course, you'll learn how to do basic math in JavaScript.

Making Decisions with Conditional Statements

Conditional statements let you control the "flow" of your program. They let you run different code based on conditions in your program.

Creating Reusable Code with Functions

JavaScript functions are a powerful tool that let you create re-usable chunks of code. They make programming faster, easier and less error-prone. They are also one of the most important concepts in JavaScript programming.

Reviews

Start your review of JavaScript Basics

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.