JavaScript

Understanding Template Literals in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Template Literals in JavaScript

The 2015 edition of the ECMAScript specification (ES6) added template literals to the JavaScript language. Template literals are a new form of making strings in JavaScript that add a lot of powerful new capabilities, such as creating multi-line strings, using placeholders to embed expressions in a string, and parsing dynamic string expressions with tagged template literals. In this article, you will go over the differences between single/double-quoted strings and template literals.

Read more
How To Use .every() and .some() to Manipulate JavaScript Arrays — step-by-step Javascript tutorial on Progressive Robot

How To Use .every() and .some() to Manipulate JavaScript Arrays

ES5 and ES6 brought many changes to JavaScript, including better ways of working with arrays. In particular, the `.every()` and `.some()` functions can improve how developers manipulate arrays, and potentially give them performance gains. This article will show that the prominent JavaScript array functions are `.map()`, `.filter()`, and `.reduce()`, and will then go through examples of instances in which `.every()` and `.some()` would be more efficient.

Read more
An Introduction to JSON — step-by-step Javascript tutorial on Progressive Robot

An Introduction to JSON

JSON — short for JavaScript Object Notation — is a format for sharing data. As its name suggests, JSON is derived from the JavaScript programming language, but it’s available for use by many languages. This informational guide will get you up to speed with the data you can use in JSON files, and the general structure and syntax of this format.

Read more
How To Access Elements in the DOM — step-by-step Javascript tutorial on Progressive Robot

How To Access Elements in the DOM

In order to be proficient at accessing elements in the DOM, it is necessary to have a working knowledge of CSS selectors, syntax and terminology as well as an understanding of HTML elements. In this tutorial, we will go over several ways to access elements in the DOM: by ID, class, tag, and query selectors.

Read more
CHAT