Skip to content

RushingLabs/javascript-series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Series

A series to learn the JavaScript basics. Everything runs completely in the browser.

All parts of this series will run from a single web page, however the course will not be focused on web development specifically. This is simply the lowest-barrier of starting to learn: (a) get into the language mechanics, (b) avoid extra dependencies on outside tooling (e.g. Node.js).

This series is best explored on a device where you can comfortably use the browser's Developer Tools.

Table of Contents

Ex. 1-1 Let's run JavaScript in an HTML file

  • JavaScript runs in the browser...along with HTML and CSS
    • So, we need an HTML file to run some JavaScript
    • JavaScript can run in a simple <script> block

Ex. 1-2 JavaScript file from HTML

  • JavaScript normally runs from a separate file, not inline with HTML
    • How to create a file containing JavaScript
    • We don't need an auto-invoking function. The browser executes it (to play nice).
    • Stick to basics: alert() and console.log()

Ex. 2 Variables

  • How to create variables
  • Combine variables and strings

Ex. 3-1 Flow Control

  • if-statement
  • while loop
  • for loop

Ex. 4 Functions (basic)

To be covered

  • Switch Statement
  • Foreach loop
    • Show a foreach loop...using an array
  • Arrays
    • We can assign more than one piece of data to a single variable
    • How to create an array
    • A for-loop printing each item of the array
  • DataTypes
    • This is a good "in-betweeN" from arrays to objects
      • Loops showed arrays -> Arrays show a data storage -> different types go inside objects
    • String, Number, Boolean
    • Show the typeof operator
  • Objects
    • What is an object in JavaScript?
      • So...store anything in {}?
    • What is JSON?
  • the object type
  • Functions (extended)
  • Hoisting

Ex. ??? ES6/ES2015 Transition

  • Call back to the original introduction video...how we discussed a brief history of JavaScript

  • Explain what this update was--the largest single update JavaScript had ever received

    • Or at least first major update since ES5 (2009)
  • var, let, const

  • arrow functions

  • the new keyword

Advanced Topics

  • Closures
  • Memoization
  • Callbacks

Reference Material

ES6 Tutorial - https://www.javascripttutorial.net/es6/

  • Lessons on the specific pieces of the ES6 update, from 2015

Zed Shaw's, Learn Code the Hard Way - https://learncodethehardway.org/

JavaScript.Info - https://javascript.info/

  • A very thorough collection of JavaScript tutorials

MDN Web Docs, JavaScript - https://developer.mozilla.org/en-US/docs/Web/JavaScript

About

A series for learning JavaScript in your browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published