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.



Remove Last Character from String in JavaScript

March 25, 2021

In this tutorial, we will learn how to remove the last character from a string in JavaScript. With the JavaScript s...


parseString in JavaScript

March 16, 2021

To parse a number into a string, use the JavaScript toString() function, passing it after the number with a . (dot). toS...


JavaScript Events

February 26, 2021

An event is something that happens to an HTML element. Events can be initiated by the browser itself or a user interacti...


How to add an Event Listener in JavaScript

February 25, 2021

To listen for an event on any HTML DOM element in JavaScript, use the addEventListener() method. The addEventListen...


jQuery: Select First Element with Class

February 13, 2021

To get the first element containing a class with jQuery, use the :first pseudo selector after the class name. To de...


jQuery Document Ready Function

February 10, 2021

jQuery Remove Class

February 09, 2021

jQuery on Change Function

January 28, 2021