Month: March 2022

JavaScript: Find inside an array of Objects with property value

Check if the array of objects contains an element with a specific value. Javascript code to check if an array of objects includes an... Read more »

Typescript types for react-easy-swipe

Types for the parameters used in the react easy swipe package implementation codes. Typescript type for the event parameter used in the react easy... Read more »

React JS : Array Spread using prevState

Get object property values to a new array from an array of objects. Use state in react js and update array by looping through... Read more »

Tailwind: Border Bottom Shadow CSS Code Example

Add shadow to bottom of div or other elements using Tailwind CSS in React JS App. Add border shadow styling using tailwind CSS for... Read more »

Master Javascript by Playing Games

Enjoying the journey of learning javascript by playing games of problem-solving. Here are a few interesting websites that help to learn javascript by practicing... Read more »

FizzBuzz Solution – Check is multiple of using JavaScript

Read a number and check if multiple of 3 or 5 and print outputs as required. Given a number n, for each integer I... Read more »

.finally() in Javascript, React JS – Use cases, Examples

.finally method is javascript can be added with the Promise Object. .finally() is executed once the Promise is settled irrespective of the promise result... Read more »