Javascript Tutorial for Absolute Beginners

Javascript Tutorial for Absolute Beginners

JavaScript is the programming language of HTML and the Web. JavaScript, often abbreviated as JS, is a high-level, interpreted scripting language that conforms to the ECMAScript specification. JavaScript has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

What is JavaScript and why it is used?

JavaScript is most commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.

What You Can Do with JavaScript

There are lot more things you can do with JavaScript.

  1. You can modify the content of a web page by adding or removing elements.
  2. You can change the style and position of the elements on a web page.
  3. You can monitor events like mouse click, hover, etc. and react to it.
  4. You can perform and control transitions and animations.
  5. You can create alert pop-ups to display info or warning messages to the user.
  6. You can perform operations based on user inputs and display the results.
  7. You can validate user inputs before submitting it to the server.

The list does not end here, there are many other interesting things that you can do with JavaScript. You will learn about all of them in detail in upcoming chapters.

This series tutorial will teach you JavaScript from Basic to Advanced (zero to hero).

JavaScript Module Cheatsheet

JavaScript Module Cheatsheet

JavaScript Module Cheatsheet: Shows the different ways of exporting, and the corresponding way to import

Javascript Constructor Tutorial | Constructor In Javascript Example

Javascript Constructor Tutorial | Constructor In Javascript Example

Javascript Constructor Tutorial | Constructor in Javascript Example is today’s topic. A constructor method is an excellent method for creating and initializing an object produced within the class.

Looping through objects in JavaScript

Looping through objects in JavaScript

Looping through objects in JavaScript - Once in a while, you may need to loop through Objects in JavaScript. The only way to do so before ES6 is with a for...in loop.

Learn and Understand 4 Uses of JavaScript's Array.map()

Learn and Understand 4 Uses of JavaScript's Array.map()

In this JavaScript Array tutorial, we'll look at 4 noteworthy uses of the .map() in JavaScript. Array.map() is a very powerful method in JavaScript. Here's 4 common uses.

How to create an Infinite Scrolling effect using JavaScript

How to create an Infinite Scrolling effect using JavaScript

In this tutorial we're going to see how to create an Infinite Scrolling effect using JavaScript.

JavaScript Tutorial: Null vs. Undefined

JavaScript Tutorial: Null vs. Undefined

JavaScript Tutorial: Null vs. Undefined - What is the difference between null and undefined in JavaScript? JavaScript is an interesting language with lots of quirks. One such confusing aspect in JavaScript is the differences and similarities between Null and Undefined.

How to Convert Object to QueryString Parameters and Back in JavaScript

How to Convert Object to QueryString Parameters and Back in JavaScript

In this tutorial, will show you some ways to convert an object to Query String Parameters and Back in JavaScript

Understand and Using the DOM like a Pro

Understand and Using the DOM like a Pro

How to stop fearing the DOM, use it to its full potential and actually start loving it

How to Remove a Value From an Array in JavaScript

How to Remove a Value From an Array in JavaScript

Remove a Value From an Array in JavaScript. The best way to remove an element from an array based on the value in JavaScript is to find index number of that value in an array using

All You Need to Know to get started with JavaScript Promises

All You Need to Know to get started with JavaScript Promises

“What is Promises?” JavaScript Promises are not difficult. However, lots of people find it a little bit hard to understand at the beginning. Therefore, I would like to write down the way I understand promises, in a dummy way.

A guide to this in JavaScript

The this keyword hands-down is one of the most widely used and yet misunderstood in JavaScript. I’ll try to change that today.

How is the Arrays in JavaScript?

How is the Arrays in JavaScript?

In JavaScript, array is a single variable that is used to store different elements

JavaScript Tutorial for Beginners - Learn Javascript in 2020

JavaScript Tutorial for Beginners - Learn Javascript in 2020

This complete JavaScript tutorial for beginners will teach you everything you need to know to get started with the JavaScript programming language in 2020

JavaScript Promises: race vs all vs allSettled - What, Why, and When

JavaScript Promises: race vs all vs allSettled - What, Why, and When

JavaScript Promises: race vs all vs allSettled - What, Why, and When. In this article, we will cover three methods (race, all and allSettled) that'll help you deal with some more complex use cases while also dealing with multiple JavaScript Promises

New Upcoming JavaScript features in 2020

New Upcoming JavaScript features in 2020

You should know if you use JavaScript everyday. That is "New Upcoming JavaScript features" in this post

What is this Javascript “require”?

I'm trying to get Javascript to read/write to a PostgreSQL database. I found this&nbsp;<a href="https://github.com/brianc/node-postgres" target="_blank">project</a>&nbsp;on github. I was able to get the following sample code to run in node.

JavaScript: Arrays vs. Sets - The difference

JavaScript: Arrays vs. Sets - The difference

The biggest difference between an Array & Set is that Arrays can have duplicate values whereas Sets cannot. The other big difference is that data in an array is ordered by index whereas Sets use keys & the elements are iterable in the order of insertion.

What is JavaScript – All You Need To Know About JavaScript

What is JavaScript – All You Need To Know About JavaScript

In this article on what is JavaScript, we will learn the basic concepts of JavaScript.

JavaScript Uppercase the First Letter of a String

JavaScript Uppercase the First Letter of a String

In this tutorial, we will learn how to uppercase the first letter of a string in JavaScript and Node.js

Linked Lists in JavaScript With ES6

Linked Lists in JavaScript With ES6

Linked Lists in JavaScript with ES6.This series is about data structure implementation in JavaScript using the ES6 specification.. Let's see how to make a singly linked list in Javascript… ... list in Javascript. We'll be using ES6 syntax throughout.

All You Need to Know About JavaScript from JavaScript Handbook

All You Need to Know About JavaScript from JavaScript Handbook

In this JavaScript Handbook tutorial, you'll learn all you need to know about JavaScript

Map() vs. forEach() in JavaScript - What Is the Difference

Map() vs. forEach() in JavaScript - What Is the Difference

In this post, I am going to talk about the main difference between each and show you some examples of their usages.

A new thing for Javascript and Node.js. What’s wrong with NPM?

A new thing for Javascript and Node.js. What’s wrong with NPM?

Why does the world need another package manager / what’s wrong with npm? JavaScript is an exemplar of a larger problem: code reuse via artifacts with dependency metadata delivered by a registry that controls namespaces and versioning

What is “this” in JavaScript?

What is “this” in JavaScript?

If you have been building things using JavaScript libraries, you might have noticed a particular keyword called this. In JavaScript, ‘this’ normally refers to the object which ‘owns’ the method, but it depends on how a function is called.

Understanding Asynchronous JavaScript with Async/Await

Understanding Asynchronous JavaScript with Async/Await

In this JavaScript tutorial, you'll understand Asynchronous JavaScript with Async/Await. Why Async/Await? Async/await is a relatively new way to write asynchronous code in Javascript. Well, simply put, async/await allows us to write asynchronous code in a synchronous manner.