JavaScript for Beginners

Section 1: Getting Started

1.1 What is JavaScript?

Introductory video about the JavaScript language

1.2 Setting Up the Development

Set up of development tools, installation of Nodejs

1.3 JavaScript in Browsers

In this video, we will run our very first JavaScript code

1.4 Separation of concerns and execution in Node

We will run JavaScript code on Nodejs

Section 2: The basics of JavaScript

2.1 Variables

In this section we will study one of the most fundamental concepts of Javascript: Variables

2.2 Constants

We will declare a constant in exactly the same way as a variable except that we use const instead of let.

2.3 Primitive types

We will see the first type category: The primitives

2.4 Dynamic typing

In a dynamic language like JavaScript, the type of a variable can change at runtime.

2.5 Objects

We will study the first category of reference types: Objects

2.6 Arrays

We will see in this course the arrays

2.7 Functions

We will see a function that performs a task and calculates a value

2.8 Function Types

We will see in this video that the function can perform several tasks

Section 3: Operators

3.1 Operators in JavaScript

In this video, we will see the different types of operators

3.2 Arithmetic Operators

We will see the first category of operator used to perform mathematical calculations

3.3 The Assignment Operators

In this video, we will see the 2nd category of operator that we will examine which is the assignment operators

3.4 Comparison Operators

In this video we will see the comparison operators we use to compare the value of a variable with another one

3.5 The Equality Operators

In this video, we will see the strict and simple equality

3.6 The ternary operators

In this demonstration, we will see the ternary or conditional operators

3.7 The Logical Operators

Small demonstration on logical operators

3.8 The Logical Operators with non-booleans

Same demo with non-boolean values

3.9 The Predominance of Operators

We will see the priority of the operators

3.10 Exercise Swapping Variables

End of section exercise on variables

Section 4: The flow of control

4.1 If..else

We will discover the conditional statement if...else

4.2 Switch...case

We will discover the conditional instruction switch...case

4.3 For Loops

In this video we will see the For

4.4 While Loops

In this video, we will see how to implement the same logic as the For loop by using a while loop

4.5 Do...While Loops

Let's have a look at the third type of loop: the Do...While loop

4.6 Infinite Loops

In this video, we will execute an infinite loop

4.7 For...in Loops

In this video we will see the for...in loop used to browse the properties of an object or elements in an array.

4.8 For...of Loops

We have a new way to iterate using the for...of loop

4.9 Break et Continue

We will see in this video that the break and continue keywords can change the behavior of the loop

4.10 Max of Two Numbers

Exercise: we will create a function that takes two numbers and returns the maximum of the two

4.11 Exercise: Landscape or Portrait

Exercise: we will implement a landscape function that takes two parameters, width and height of an image, and returns true if the image is in landscape format

4.12 Exercise: Even and Odd Numbers

Odd and even numbers exercise

4.13 Exercise: Counting Truthy Values

In this exercise, we will create a function that takes an array and returns a number of Truthy elements in that array

4.14 Exercise: Properties of an object

In this exercise, we will create a function that should display all the properties of this string object

4.15 Exercise: Sum of multiples of 3 and 5

In this exercise, we will create a function that will return the sum of all multiples of 3 and 5 of 0 up to a limit

4.16 Exercise: Stars

In this exercise, we will create a function that returns the number of rows according to the number we have assigned to it in the parameter

Section 5: Objects

5.1 Basic notions

Some notions about objects in JavaScript

5.2 Factory function

We will find out what the Factory function is

5.3 Constructor function

We will discover another model of object creation: The Constructor function

5.4 Dynamic character of objects in Javacript

Objects in JavaScript are dynamic, we can add new properties or methods, or remove existing ones

5.5 Constructor properties

In this video we will see the properties of the constructor that refer to the function that was used to construct or create this object.

5.6 Functions are objects

In this video, we will see that functions are objects

5.7 Value types VS Reference types

In this video, we will see the difference between value types and reference types

5.8 Enumeration Properties of an Object

We will list the properties of an object

5.9 Cloning an Object

In this video, we will clone all the properties of an object and copy them into another object

5.10 Garbage Collection

In this video, we will see how memory management works in JavaScript

5.11 Math Object

We will discover the Math Object

5.12 String

We will discover the string object

5.13 Date

We will discover the last object of this section: The Date Object

5.14 Exercise: The address Object

Exercise on the Address object

5.15 Exercise: Factory function and Constructorr

Exercise on the Factory and Constructor function

5.16 Exercise: Blog Publishing Object

We will create a blog publication object with the properties title, body, author, views

5.17 Exercise: Constructor function

We will again use a constructor function to create a publication object

Section 6: Arrays

6.1 Introduction

We will see the different operations we can perform in a Table

6.2 Adding elements to an array

The first operation: Adding Elements

6.3 Finding elements(Primitives)

Searching for Elements stored by Primitives

6.4 Finding elements(References Types)

Search for elements stored by Reference type

6.5 Arrow function

We will see what the Arrow function is

6.6 Deleting elements in an Array

We will see how to Delete an Element in an Array

6.7 Empty an Array

We will see how to Empty a Table

6.8 The Spread Operator

We will combine two arrays using the Spread Operator

6.9 Iterating an Array

We will see how to Iterate a Table

6.10 Joining an Array

We will learn how to use the Join method to Join an Array

6.11 Sorting an Array

In this video, we will see how to Sort and Array

6.12 Testing the Elements of an Array

We will test some Elements in an Array

6.13 Filtering an array

We will see how to Filter a Array

6.14 Mapping an array

We will see how to map a Array

6.15 Mapping an array

We will see how to map a Array

6.16 Exercise: Interval Table

We will see how to map a Array

6.17 Exercise: Includes method

We will see how to map a Array

Section 7: Functions

7.1 Declaration functions VS Expression

Declaration functions VS Expressions

Good to know:

JavaScript is one of the most popular programming languages in the world and is growing faster than any other programming language. As a developer, you can use JavaScript to create web and mobile applications, real-time networking applications, command-line tools, and games.