Download Now

Want to learn to program and use javascript as the language you explore with? I think that's a great idea! javascript is uniquely one of the easiest languages to get started with and one of the most powerful languages that will challenge you to learn more even years or decades after you start.

Basics of Programming with javascript - Kyle Simpson

Table of Contents

javascript Introduction
00:00 - 06:51:59 Introduction Kyle Simpson begins the course with a brief overview of what he'll be covering throughout the course. He also recommends a few books and resources as supplemental sources of learning.

06:52:00 - 16:01 Kyle's Work Kyle spends a few minutes talking about himself and the number of open source projects he manages. He also talks about his You Don't Know javascript book series and how he'll be using that as a guide for the course.

16:02 - 23:53 Introduction to Programming Writing code is nothing more than putting words and phrases into a text editor. These words and phrases are specific to the programming language you are writing. Kyle compares code syntax to the grammar of a spoken language.

23:54 - 29:27 Statements A statement is a group of words, numbers and operators that perform a specific task. Most statements end in a semicolon. A computer program is a collection of many statements which carry out the programs purpose.

29:28 - 43:14 Expressions Kyle demonstrates how statements can consist of one or more expression. Expressions can be a reference to a variable, a mathematical operation, or even a function call.

43:15 - 55:07 Executing a Program Statements and expressions make it easy for developers to tell the program what to do. When it comes time for the computer to execute the code, it needs to be either interpreted or compiled into a language the computer will understand.

55:08 - 01:04:42 Practice Coding Kyle stresses that practicing coding the best way to get more comfortable with the syntax. He spends a few minutes talking about how to use the developer console in a web browser.

01:04:43 - 01:10:28 Input & Output Kyle demonstrates how to use the console.log() statement to output information into the web browser's console. This statement is used often for displaying the current value of a variable and testing code execution.

javascript Syntax

01:10:29 - 01:16:05 Operators javascript contains a vast array of operators including mathematical, logical, comparison and equality. Some operators can be written in multiple ways or are a shortcut for a longer form.

01:16:06 - 01:29:25 Values & Types A Type in javascript describes the representation of a value. For example, 42 is a Number and "Hello" is a String. Kyle explains these primitive types and demonstrates how to convert a value from one type to another.

01:29:26 - 01:35:05 Code Comments Comments are code ignored by the browser. They are useful for adding documentation, notes, or any other text to the source code. Comments can be added to a single line or a block of code. Kyle demonstrates how to use both types of comments and offers a few suggested use-cases.

01:35:06 - 01:46:07 Variables & Blocks Kyle takes a deeper dive into javascript variables. He explains the importance of declaring variables with the "var" keyword and highlights a couple alternative ways to make declarations. Kyle also talks about creating blocks of code with curly braces.

01:46:08 - 01:51:48 Conditional Statements One major use for block statements is with conditions. An "if" statement checks a condition and will execute the code within its block if the condition is true. If the condition checked is only a value, the value will be converted to a Boolean.

01:51:49 - 02:04:12 Loops Loops like "for", "while", and "do-while" continue to execute a block of code while a condition is true. Kyle starts by demonstrating a "for" loop which uses an iterator to control how many times the loop runs. He then talks about while loops and how the break statement can be used to halt a loops execution.

02:04:13 - 02:20:07 Functions Functions allow you to create a block of code that can be called at anytime. Functions can also take parameters as input enabling the block of code to run more dynamically. Kyle creates a few different functions and show how to pass parameters and return values.

02:20:08 - 02:24:22 Scope A variables scope describes the area of the program where the variable is available. For example, if a variable is defined inside a function, it's only available within the function's block. A function does have access to any variable defined outside of it's block.

02:24:23 - 02:30:05 Challenge 1 In this challenge, you will write a program to calculate the total price of your phone purchase. You will keep purchasing phones until you run out of money.
- ractice

02:30:06 - 02:41:36 Challenge 1 Solution Kyle walks through the solution to Challenge 1.

02:41:37 - 02:46:49 EcmaScript 6 While answering a few audience questions, Kyle spends a few minutes talking about how developers can start using ES6 syntax in their applications. He demonstrates Babel and ES6 Fiddle and discusses why learning this new syntax is important.

Direct Download

Tags: FrontendMasters, Basics, Programming, JavaScript

Add Comments:
Enter Code: *