🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

How to wait for all Promises to resolve in JavaScript

So you have a bunch of Promises, and you want to proceed only when all of them are resolved. In JavaScript there are 2 main approaches to solving this. ...

May 14, 2021 · 2 min · Coderslang Master

What is TypeScript and why should you use it?

What is TypeScript? TypeScript is a programming language developed and maintained by Microsoft. It introduces additional features like strict type binding (variables are bound to specific data types) to JavaScript and can also be compiled down to JavaScript as well....

May 13, 2021 · 6 min · Coderslang Master

JavaScript Interview Question #50: How does Intl.Collator work in JS

What is Intl.Collator and how does it work in JS? What’s the difference between two sorts? What will be logged to the console? . . . . . . ....

March 24, 2021 · 2 min · Coderslang Master

JavaScript Interview Question #49: Add a new array element by index

Will the length of the JS array change? What’s the output? . . . . . . . . . . . . . . . . . All JavaScript arrays have the push function....

March 21, 2021 · 1 min · Coderslang Master

JavaScript Interview Question #48: Dog-sized Cat. JS Object Properties

How many errors are in this code snippet? What’s the output? . . . . . . . . . . . . . . . . . In JavaScript there are two ways to get access to the object properties....

March 18, 2021 · 1 min · Coderslang Master

JavaScript Interview Question #47: How Object.setPrototypeOf works in JS

What is Object.setPrototypeOf in JavaScript? How does it work? What’s the output? . . . . . . . . . . . . . . . . . Theory The function Object....

March 15, 2021 · 2 min · Coderslang Master

JavaScript Interview Question #46: length of JS functions

What’s the value of the length field for JavaScript functions? What will be logged to the console? . . . . . . . . . . . . ....

March 12, 2021 · 1 min · Coderslang Master

Learn JavaScript from scratch

Hey! If you want to learn how to code, but don’t know where to start, I’ll help you. We will start learning from the very beginning. Let’s figure out what a function is, how a string differs from a number, how to create conditionals and loops....

March 12, 2021 · 3 min · Coderslang Master

HTML Text Properties

HTML text has a couple of properties. When these properties change, the looks and feel of the website changes too. For example, here I’ve already told you how to change the color of the text in HTML....

March 11, 2021 · 4 min · Coderslang Master

CSS Identifiers and Classes

— How we select elements for applying styles is called a selector. Until now, we have selected elements by tag name. — Well, yes, we specified, for example, h1 or p and then listed CSS properties....

March 10, 2021 · 4 min · Coderslang Master