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.

Latest

 thumbnail

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

 thumbnail

Make Button Open a Link in a New Tab in JavaScript

June 17, 2021

In this tutorial, we will learn how to create a button that opens a link in a new tab with an onclick event. Here i...

 thumbnail

How to Remove All Line Breaks from a String in JavaScript

June 17, 2021

There are three types of line breaks, CRLF, LF and CR, which are represented by the following statements: \r\n – a...

 thumbnail

How to use jQuery attr() to Get & Set Data Attribute Values

June 16, 2021

To set and get data on an HTML data to attribute in jQuery, use the attr() function. Get Attribute ValueIf you need...

 thumbnail

How to Set & Get Data on an Element in jQuery

June 16, 2021

In this tutorial, we will learn how to set and get data on particular HTML elements using the jQuery .data() function.&n...