Skip to content

alexpaul/JavaScript

Repository files navigation

JavaScript

Beginning JavaSwift.

MDN: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. Read more about JavaScript.


Hello developer,

For the majority of the examples here you can use repl.it to execute the JavaScript statements. Approach learning the content chronologically base on the Table of Contents and complete the given exercises at the bottom of the modules for practice.

JavaScript allows developers to write client-side (web user interfaces) and server-side (web APIs) applications.

Some technologies of a full-stack developer:

const fullStackDeveloper = {
  languages: ['javascript', 'typescript', 'python', 'php'], 
  userInterfaces: ['html', 'css'],
  backend: ['node', 'express'],
  cloud: ['aws', 'azure', 'google'],
  databases: ['mongodb', 'mysql', 'posgreSQL'],
  frontEndFrameworks: ['react', 'redux', 'ember', 'angular', 'vue.js']
}; 

Table of Contents

  1. Logging
  2. Data Types
  3. Variables
  4. Control Flow
  5. String
  6. Array
  7. Loops
  8. Functions
  9. Higher-order functions
  10. Objects
  11. Node and Packages
  12. JSON
  13. Promises
  14. Error Handling
  15. Math
  16. Date
  17. Data Structures
  18. Algorithms
  19. Tools

Glossary

  • DOM
  • ES6
  • Node
  • npm
  • nvm
  • JIT
  • VS Code Extensions

Books

  1. Eloquent JavaScript
  2. Mostly Adequate Guide to Functional Prograamming

Projects

To evaluate your JavaScript fundamentals work on any of the following projects as a command line application. To take in user input use the prompt() method.

const userInput = prompt('Please enter your name?'); 
console.log(`Hi, ${userInput} get ready for an adventure.`);

/*
$ Please enter your name?> Alex
Hi, Alex get ready for an adventure.
*/
  • Mad Libs Generator
  • Rock, Paper, Scissors
  • Tic Tac Toe
  • Hangman
  • Black Jack
  • Calculator
  • Trivia Game
  • Text-Based Adventure Game

Resources

  1. MDN - JavaScript
  2. MDN - JavaScript Guide - For folks with Programming Backgrounds
  3. MDN - JavaScript's standard, built-in objects
  4. Wikipedia- Strong vs Weak typed languages
  5. repl.it - online IDE
  6. Microsoft - Beginning Series to JavaScript
  7. Intro to JavaScript: Arrays, Objects, Functions
  8. AirBnb JavaScript Style Guide
  9. 50 Popular Node Packages