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.



Round a Number to 2 Decimal Places in JavaScript

November 24, 2021

To round a number to decimal places in Javascript, use either the .toFixed() or Math.round() function. In this tutorial...


How to make an Axios POST request

September 20, 2021

Axios is a promise-based HTTP client for node.js which can be deployed both frontend and backend. To perform a POST...


Sum of an Array in JavaScript

September 18, 2021

To get the sum of all values in an array in JavaScript, use either a for loop or the reduce() method. In this tutorial,...


How to Exclude Input by Name Before Serialize in jQuery

August 13, 2021

I have seen a couple of answers online for how to include all inputs except one with a specific name using jQuery such a...


How to use the parseInt() Function in JavaScript

July 15, 2021

parseInt() is a native JavaScript function that is used to convert strings into integers. In this tutorial, we will lear...