50% off all plans with SPRING50

Js Knowledge Pills

11 pills about Js.

CSS @starting-style
css js Intermediate

CSS @starting-style

Animate elements into view from display none using @starting-style — no JavaScript timing hacks, no setTimeout workarounds.

CSS View Transitions
css js Intermediate

CSS View Transitions

Morph between UI states with smooth animations using the View Transitions API — CSS handles the animation, JavaScript just toggles a class.

Remove duplicates in JavaScript
js Intermediate

Remove duplicates in JavaScript

Clones might take over the world, we need to learn how to remove duplicates from an array.

Reverse String in JavaScript
js Intermediate

Reverse String in JavaScript

There is no built-in method on string type to reverse it in JavaScript.

ECMAScript new features
js Intermediate

ECMAScript new features

Null coalescing operator, optional chaining, and Array.flat method are all amazing.

Search through string in JavaScript
js Intermediate

Search through string in JavaScript

Need to search for a character, word, or entire sentence? String .includes method to the rescue.

JavaScript multiple condition checks
js Intermediate

JavaScript multiple condition checks

Checking multiple values in JavaScript often leads to redundant, boilerplate code - let's use .includes method to fix that.

Convert JavaScript data structures
js Intermediate

Convert JavaScript data structures

Converting data structures is a day-to-day job as a Developer.

Method chaining
js Advanced

Method chaining

Method chaining is a helpful pattern to learn in programming.

Sum using reduce
js Intermediate

Sum using reduce

Use the versatile .reduce method to sum an array of numbers.

Immutable add, edit, delete operations
js Advanced

Immutable add, edit, delete operations

Learn how to add, edit and delete array of objects in semantic, declarative approach using rest spread operator and array methods.