JavaScript Tutorials

JavaScript is a programming language that was first released in 1995 and is one of the core technologies of the web alongside CSS and HTML. JavaScript is supported by all popular web browsers and allows developers to create interactive pages in a variety of different ways.


SkillSugar has a curated collection of JavaScript tutorials that are designed to make it easy for you to learn quickly while still including nuanced information about how each function works.



Convert to Lowercase or Uppercase in JavaScript

November 09, 2020

Converting to lowercase and uppercase is a common task in JavaScript. This could be for preparing strings for case insen...


The Promise then() Function in JavaScript

October 16, 2020

A promise in an asynchronous task in JavaScript that will return a Promise object, which can be accessed using the then(...


How to Compare Arrays in JavaScript

October 15, 2020

In order to compare arrays in JavaScript, we first have to define what we want to compare – should the comparison be bas...


The Modulus (Remainder) Operator in JavaScript

October 15, 2020

The modulus operator in JavaScript, also known as the remainder operator returns the remainder of a division. In this tu...


Check if Homepage JavaScript

October 10, 2020

In this tutorial, we will learn how to check if the current page a user is on is the homepage in JavaScript. We will ass...


How to use enums in JavaScript

September 12, 2020