Module 4: JavaScript Level 1
Introduction to all of the basic elements of JavaScript.
Getting the software you need to finish this module.
Your very first JavaScript program.
How to comment out parts of your code and write help for your future self.
Doing simple math and creating displayable text in strings.
Variables for storing and referencing information.
Constants are variables that you claim will not change.
When you write a string how do you put a string in it?
Asking a person for input from the terminal.
Accepting input from the user as command line options on your script.
Reading files with the fs (filesystem) module.
Combining reading files with accepting command line arguments.
Creating small pieces of code and jumping to them with functions.
Combining everything learned so far with functions, files, and variables in one.
Packing a group of related files into a single component called a module.
The start of logic comparison operations.
The introduction of branching with if and else.
The concept of repeating a block of code with a while-loop.
Lists of data and enumerating them with a for-loop.
Studying Arrays even more and becoming proficient at nesting them.
First step with objects just for key/value data.
Creating a little game to combine everything learned thus far.
Going from Data Objects and Functions to Object Oriented Programming.
Using the new ES6 style of classes is much better than the last exercise's classes.
Learning about the concept of inheritance in OOP.
Creating an OOP version of our little game.
Studying a complex use of functions calling their self to do a loop.
Processing Arrays with handy functions and callbacks like map and reduce.
You can chain sequences of functions together to perform more complex sequences of operations.
The concept of scope in ES6 vs. older JavaScript and why you should use let and const instead of var.
A more complicated technique to push your understanding of callbacks and filters.
This exercise covers the many, many, many ways that JavaScript handles asynchronous events.
import
The final exercise covers the use of import and modern ES6 modules.
Learn JavaScript Today
Register today for the Early Access course and get the all currently available videos and lessons, plus all future modules for no extra charge.