Author: smartcoder

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 »

React to Print: Hide Scroll Bar from the print page

React to Print is an amazing library for React users for setting up printing a page or div section. If the print content section... Read more »

Javascript: Run contents after few seconds Delay

How to delay the execution of a function or statements in javascript. Delay function execution example code javascript. We can delay the execution of... Read more »

Material UI Circular Progress Customization Example

Customize the material UI progress circle by increasing the diameter or size of the circle. Change the thickness of CircularProgress ring. Stop running and... Read more »

React : Get Scroll Direction – onScrollUp, onScrollDown

Make changes onScrollUp div or page in React JS. Make changes on page or div onScrollDown React App Tutorial. How to get the scroll... Read more »

Tailwind: Negative arbitrary value for Margin, Padding

Negative arbitrary value usage in Tailwind CSS for margin and padding. Solution for negative arbitrary value not working in tailwind CSS. Let us understand... Read more »

REACT JS – Axios API Fetching Example Code

How to fetch API data in React JS using Axios and store it in the state variable. In the example code below we are... Read more »

How to get Auth Token value from Browser Network – API response

Get the bearer token value from web browsers' network tab API response. For testing the API in Postman or such tools we may need... Read more »

Tailwind Vertically Center Content – div, grid column

How to vertically center the contents in Tailwind. Let us see how we can easily center the contents of a column or div vertically... Read more »