JavaScript

JavaScript

The JavaScript includes() Method for Arrays


The JavaScript includes() method determines whether or not an array contains a specific element, returning a boolean value.

The JavaScript indexOf() Method for Arrays and Strings


The JavaScript indexOf() method is used for returning array index values, character or word positions in strings, and more.

Detecting Idle Browser Tabs with the Page Visibility API


The Page Visibility API is a great resource for determining which of your browser windows or tabs are currently active or idle.

Pop, Push, Shift, Unshift, & Splice JavaScript Array Methods


Learn how to manipulate JavaScript arrays with the pop, push, shift, unshift, and splice methods.

Introduction to the JavaScript Array map() Method


An introduction to the JavaScript Array map() method and how it's used to read and transform elements in an array.

How JavaScript Works: The Engine, Runtime, & Call Stack


An overview of how JavaScript works, including details on the engine, runtime, call stack, and event queue.

Working With Cookies in JavaScript - The Ultimate Guide


This article covers setting and retrieving cookie data in your web browser using JavaScript.

JavaScript forEach() Method and Array Looping


The forEach method is a JavaScript Array method used to execute a function on each array element in order and was introduced in ECMAScript 2015.

How to Create a Simple Chat Room with JavaScript


This article explains the steps needed to create a simple chat room using a few different server-side technologies you can choose from; PHP or Node.js.

localStorage and sessionStorage with JavaScript


localStorage and sessionStorage are useful tools that are part of the Web Storage API, allowing you to save strings and key/value pairs locally.

JSON.parse() and JSON.stringify() Functions with JavaScript


JSON.parse() and JSON.stringify() are powerful methods used to parse and stringify JavaScript objects and JSON strings.

JavaScript Equalizer with the Web Audio API


Create a JavaScript Equalizer that utilizes the Web Audio API, a high-level JavaScript API for processing and synthesizing audio.