JavaScript Basics

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

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.

  • JavaScript Everywhere3:22
  • About JavaScript Basics2:15
  • Review About JavaScript5 questions
  • Your First JavaScript Program3:34
  • Your First JavaScript Program1 objective
  • Where Does JavaScript Go?4:56
  • Write Another Program2 objectives
  • Link to an External Script2 objectives
  • The JavaScript Console4:56
  • Review Adding Scripts and Simple JavaScript Commands5 questions
  • Using the Console2 objectives
  • The Console Challenge0:37
  • The Console Challenge Answer1:45
  • Review Introducing JavaScript5 questions

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.

  • Introducing Variables5:03
  • Create a Variable2 objectives
  • Naming Variables2:48
  • Review Creating and Naming Variables6 questions
  • Strings and Numbers2:56
  • Create a variable with a string2 objectives
  • Spaces, tabs and new lines in JavaScript2:18
  • Review Strings, Numbers and Spaces5 questions
  • Capturing Visitor Input3:41
  • Capturing Visitor Input and Writing It to the Page3 objectives
  • Combining Strings4:48
  • Combining Strings3 objectives
  • Review Concatenation5 questions
  • Working with Strings and Finding Help7:33
  • Using String Methods2 objectives
  • The Variable Challenge2:55
  • The Variable Challenge Solution3:51
  • Review JavaScript Variables5 questions

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.

  • Numbers1:55
  • Review Numbers5 questions
  • Storing Numbers in Variables2 objectives
  • Doing Math4:32
  • Review Math6 questions
  • Doing Math3 objectives
  • Numbers and Strings5:30
  • Numbers and Strings1 objective
  • The Mad Libs Challenge Revisited3:34
  • The Math Object3:28
  • Review Numbers and the Math Object5 questions
  • Using Math Methods2 objectives
  • Create a random number6:32
  • The Random Challenge0:43
  • The Random Challenge Solution4:37
  • Review Working with Numbers5 questions

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.

  • Introducing Conditional Statements7:57
  • Introducing Conditional Statements3 objectives
  • Comparison Operators6:06
  • Review Conditional Statements and Comparison Operators7 questions
  • Using Comparison Operators1 objective
  • Build a Random Number Guessing Game2:18
  • Boolean Values4:43
  • Booleans1 objective
  • Programming Multiple Outcomes2:35
  • A Basic If Statement1 objective
  • Add an Else If Clause1 objective
  • Add a Final Else Clause1 objective
  • Improving the Random Number Guessing Game3:45
  • Document Your Code With Comments3:03
  • Review Else If Clauses and JavaScript Comments5 questions
  • Combining Multiple Tests Into a Single Condition7:12
  • Review Boolean Logic6 questions
  • The Conditional Challenge0:53
  • The Conditional Challenge Solution5:02
  • Super Conditional Challenge1 objective

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.

  • Introducing Functions7:37
  • Review: Introducing Functions5 questions
  • Creating a Function3 objectives
  • Functions Change the Flow of a Program1:34
  • Getting Information From a Function6:44
  • Review: Getting Information from Functions5 questions
  • Returning a Value from a Function3 objectives
  • Giving Information to Functions8:20
  • Review: Giving Information to Functions5 questions
  • Passing an Argument to a Function2 objectives
  • Create a max() Function2 objectives
  • Variable Scope3:38
  • Review: Scope5 questions
  • Random Number Challenge0:53
  • Random Number Challenge Solution2:29
  • Random Number Challenge, Part II2:18
  • Random Number Challenge, Part II Solution2:03
  • Review Creating Reusable Code with Functions5 questions

results matching ""

    No results matching ""