Free Articles and Tutorials: JavaScript

This page contains a listing of free articles and tutorials.


JavaScript

JavaScript: Tips and Tricks

Here we provide a list of free articles and tutorials of tips and tricks that will make you more effective with JavaScript.

Read Article

A Step-by-Step Guide to Installing nvm-windows for Node.js Management

NVM (Node Version Manager) and nvm-windows are both version managers for Node.js, but they are designed for different operating systems and have distinct implementations:

  • NVM: Originally developed for Unix-like systems (like Linux and macOS), NVM allows users to install and manage multiple versions of Node.js. It's a bash script that modifies the PATH environment variable to switch between Node.js versions.

  • nvm-windows: Specifically designed for Windows, nvm-windows is a separate project that provides similar functionality to NVM but is built with Windows system compatibility in mind. It has a different implementation, using a symlink-based approach to manage Node.js versions, and offers a graphical user interface for version management.

This guide explains how to install and use nvm-windows.

Read Article

How to Install Node.js on a Mac

Node.js is required for using many JavaScript tools and for creating server-side JavaScript applications. Here is how you install Node.js on a Mac.

Read Article

How to Install Node.js on Windows

Node.js is required for using many JavaScript tools and for creating server-side JavaScript applications. Here is how you install Node.js on Windows.

Read Article

How to Open Google Chrome's JavaScript Console

You can use Google Chrome's Console to practice JavaScript.

Read Article

How to Run a Node.js Application on a Mac

Node.js makes it possible for you to run JavaScript programs outside of a web browser or on a server. To run a Node.js application on MacOS, follow these three steps.

Read Article

How to Run a Node.js Application on Windows

Node.js makes it possible for you to run JavaScript programs outside of a web browser or on a server. To run a Node.js application on Windows, follow these three steps.

Read Article

How to Send and Receive JSON Data to and from the Server

The JSON syntax is like JavaScript's object literal syntax, except that it cannot be assigned to a variable. JSON merely represents the data itself. Since JSON is just a string of text, it needs to be converted to an object to be useful inside JavaScript. Likewise, JavaScript objects need to be converted into strings in order to be used as JSON data. The following explains how to send data between the browser and server with JSON.

Read Article

Node.js and Node Package Manager (npm)

Installing Node.js and npm

Read Article

Why JavaScript is called JavaScript

Why is JavaScript called JavaScript? Does it have anything to do with Java? Do you want to impress your friends and family with your deep knowledge of the etymology of the name "JavaScript"?

Read Article