Javascript

Learn all the basics you need to understand Javascript

JavaScript is an interpreted programming language, that is, it needs an interpreter in order to be executed.

What you’ll learn

  • This course will teach you all the fundamentals that you need in Javascript.
  • Learn what is an structure.
  • Learn what is an array.
  • Learn what is an objects and a function.

Course Content

  • Introducción –> 9 lectures • 8min.
  • Variables –> 8 lectures • 10min.
  • Conditions –> 15 lectures • 13min.
  • Loops –> 10 lectures • 11min.
  • Functions –> 14 lectures • 22min.
  • Arrays and objects –> 11 lectures • 13min.

Auto Draft

Requirements

  • JavaScript is an interpreted programming language, that is, it needs an interpreter in order to be executed.
  • JavaScript is mostly used within web pages but its use as a server or application begins to spread.
  • Like HTML, JavaScript is usually executed by the browser of the user: it is about a client-side behavior, as opposed to the server-side when the code is executed by the server.
  • JavaScript is standardized by ECMA International under the name of ECMAScript which constitutes the reference of the language.
  • The latest standardized version of JavaScript is based on ECMAScript 5, released in 2009. But its new version, ECMAScript 6, is gaining ground.

INTRODUCTION

– JavaScript – first steps

– JavaScript – Syntax

– Where to write the code ?

 

VARIABLES

Declare a variable

Types of variables

Test the existence of variables – typeof

Arithmetic operators

Concatenation and types conversion

Concatenation -Interact with the user – prompt()

Conversion of string into number

 

CONDITIONS

The basis of conditions : Booleans

Comparison operators

Logical operators

Operator &&

Operator ||

Operator !

Combine the operators

The if/else condition

The structure If

The else structure

The else if structure

The Switch structure

The ternaries

Conditions on variables

 

LOOPS

Incrementation

The while loop

The do while loop

The for loop

 

FUNCTIONS

Design functions

Create your first function

A concrete example

The scope of the variables

Global variables

The arguments and the values of return

Arguments

The scope of the arguments

Multiple arguments

Optional arguments

Return values

Anonymous function

Back on the use of semicolons

Anonymous functions: isolate its code

 

ARRAY AND OBJECT

Introduction to Object

– Arrays

Arrays and Strings

Browse an array

Get Tutorial