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.



JavaScript: How to Rotate Images

October 14, 2021

This tutorial will cover how to rotate images with JavaScript and the CSS transform: rotate() property. Create an H...


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...


How to use Switch Case Statements in Java

June 28, 2021

A switch-case statement in Java allows you to run different blocks of code depending on the value of a variable. sw...