Skip to content

martinmorando/js

Repository files navigation

Notes, Code, and Experiments with JavaScript

Quick Overview

  • Abbreviated as JS
  • Created in 1995 by Netscape

Motivations for Mastering JavaScript

  • Established and Demanded: JS is essential for web development. Several popular libraries and frameworks are created on top of JS: jQuery, React, Angular, Vue.js. Also, TypeScript, a programming language that builds on JS, adds static typing. A deep dive in JS will allow one to explore many other popular tools faster.
  • Versatile: JS can be used for both front-end development (with frameworks like Angular, React, Vue.js) and back-end development (with Node.js). It can be run on web browsers, servers, mobile devices.

Contents

  • Vanilla JavaScript: plain, pure JS (in this directory, for quick access)
  • p5.js/: is an open-source JS library for creative coding. Go to the source repository (LGPL)

Running JavaScript Programs

There are several ways to develop with JS.

  • Using Node.js: install Node.js from its website or use Node Version Manager (NVM) (quick, easy and can manage multiple versions):

    1. Run the script mentioned in the repository
    2. source ~/.bashrc
    3. nvm list-remote
    4. nvm install v24.1.0 (select one from the list)
    5. nvm -v

    More information available with nvm --help. Once Node.js is installed, execute a JS script using command: node script.js

  • Developer Console: modern browsers come with built-in developer tools, including a JS console.

About

Notes, code, and experiments with JavaScript

Topics

Resources

License

Stars

Watchers

Forks