Tag: vanilla-javascript

JavaScript Promises: race, all, allSettled, then

JavaScript Promises: race, all, allSettled, and then

Dev

In this article, we will cover three JavaScript Promises that serve complex use cases and show you how to deal with multiple promises at once.

Fernando Doglio
Nov 8, 2021 ⋅ 9 min read

How to create your own cryptocurrency with JavaScript

Dev

Learn how to create your own cryptocurrency in JavaScript with this step-by-step tutorial and example build.

Atharva Deosthale
Nov 3, 2021 ⋅ 7 min read
JavaScript Logo Over a Stack of Cookies

Storing and retrieving JavaScript objects in localStorage

Dev

Here, you can learn a trick for storing JavaScript objects as JSON strings in the window.localStorage object.

Nelson Michael
Nov 1, 2021 ⋅ 4 min read
JavaScript Maps vs. Sets: Choosing your data structure

JavaScript maps vs. sets: Choosing your data structure

Dev

JavaScript’s Map and Set data structures, play a crucial role in working with the data we collect. Learn all you need to know in this guide.

Glad Chinda
Oct 29, 2021 ⋅ 28 min read
Using Axios.all To Make Concurrent Requests

Using axios.all to make concurrent requests

Dev

Learn about Axios’ axios.all function for HTTP requests, differentiating Promise.all and axios.all, and making concurrent API requests.

Ejiro Asiuwhu
Oct 26, 2021 ⋅ 5 min read
5 Open Source JavaScript Datagrids for Your Next Project

5 open source JavaScript datagrids for your next project

Dev

In this article, we outline why datagrids are important and discuss five JavaScript datagrids that you should consider for your next project.

Chimezie Enyinnaya
Oct 25, 2021 ⋅ 4 min read
Using The New JavaScript At Method

Using JavaScript’s .at() method

Dev

Learn about JavaScript’s new .at() method, its use cases, and how it can improve developers’ experiences compared to the preexisting methods.

Ibadehin Mojeed
Oct 15, 2021 ⋅ 5 min read

Creating a text resizing widget with CSS and JavaScript

Dev

Websites should be easy to read for all users. Learn how to create a text resizing widget that will improve general web accessibility.

Diego Vogel
Sep 29, 2021 ⋅ 3 min read
JavaScript Object Immutability: Object.freeze vs. Object.seal

JavaScript object immutability: Object.freeze vs. Object.seal

Dev

Learn about object immutability in JavaScript by using the Object.freeze() and Object.seal() methods to restrict access to objects.

Jemimah Omodior
Sep 17, 2021 ⋅ 9 min read
Elegant Error Handling with the JavaScript Either Monad

Using the JavaScript Either monad for error handling

Dev

In this article, we’ll take a look at using JavaScript’s Either monad to handle errors as an alternative to try…catch.

James Sinclair
Sep 15, 2021 ⋅ 18 min read
Best practices for trailing commas in JavaScript

Best practices for using trailing commas in JavaScript

Dev

Review trailing comma best practices in JavaScript, and refresh your knowledge of how they’ve changed with recent ECMAScript updates.

Faraz Kelhini
Sep 13, 2021 ⋅ 6 min read
Understanding JavaScript Browser Cookies

A JavaScript developer’s guide to browser cookies

Dev

Learn how JavaScript browser cookies work, from accessing, manipulating, and controlling their visibility across browsers.

Prateek Surana
Sep 7, 2021 ⋅ 9 min read