It started on a typical evening. I had just wrapped up a long day, and I wanted to relax with a bit of fun. I decided to try my luck on a few online slot games. Nothing too crazy—just a small stake, a few spins, and maybe a shot at hitting something fun. I wasn’t … [Read more…]
Top Seo Tips To Improve Website Ranking And Boost Traffic
You received a call from a reputed company who has shortlisted your name for a job opening, however, you are in doubt whether that company is legitimate or not. What do you do? You want to do MBA through distance learning but you are not sure from where to pursue it. Moreover, with so many … [Read more…]
Atur Waktu Bermain dengan Bijak
Game Online Game online bisa sangat adiktif, jadi penting untuk mengatur waktu bermain dengan bijak. Jangan sampai Anda bermain terlalu lama hingga mengorbankan kesehatan, waktu tidur, atau aktivitas penting lainnya. Buatlah jadwal bermain dan berikan waktu istirahat di antaranya. Dengan mengatur waktu secara disiplin, Anda bisa bermain secara optimal tanpa mengalami kelelahan atau stres. Bermain … [Read more…]
HOW TO DETECT OR IDENTIFY COUNTERFIET OR FAKE PRODUCTS
The global market is flooded with products of different brands with buyers having a plethora of options. To either go for the costly ones or settle for cheaper substitutes of the same product. Indeed, the market condition is such that every company or manufacturer out there is joining the race by bringing in products which … [Read more…]
HOW TO PREVENT DATA SECURITY BREACH
Criminal activities in terms of stealing or theft has a history of its own. If researched well, it not only brings out interesting yet devious ideas that thieves used. It also reveals an internal war which was and is still is heinous then the 2nd world war itself. A war between the people who are … [Read more…]
Customize MUI Components | Custom Style Material UI With React
1. HOW TO ADD MAX AND MIN LIMIT TO THE MATERIAL UI (MUI) TEXTFIELD COMPONENT We can use the inputProps for setting the min and max value on the TextField. Below is the example with the TextField of type=date. We are setting the max value to the current date so that user cannot select the … [Read more…]
Prevent Non Numeric In input type number textfield & Hide Arrow
Inputs of type=”number” have below usability issues: In chrome it allows certain non-numeric characters like (‘e’, ‘+’, ‘-‘, ‘.’) and in Firefox it allows all non-numeric characters. It has up and down arrows which is used to increment or decrement the number but sometimes it is observed that user accidentally increase or decrease values. In … [Read more…]
[Linear & Circular] Dynamic Progress Bar with Timer in React
import { Box, CircularProgress, Typography } from “@mui/material”; import moment from “moment”; import { useState, useRef, useEffect } from “react”; const CircularProgressBar = (props) => { const initialTime = 10; // in seconds const [timeLeft, setTimeLeft] = useState(initialTime); const [progressBarPercent, setProgressBarPercent] = useState(0); const timerId = useRef(); useEffect(() => { if (initialTime) { timerId.current = … [Read more…]
Date Range Picker Example using React Date Range [Customized]
import “react-date-range/dist/styles.css”; // main css file import “react-date-range/dist/theme/default.css”; // theme css file import { DateRange } from “react-date-range”; import { Box, TextField, ClickAwayListener } from “@mui/material”; import moment from “moment”; import { useState, useEffect, useRef } from “react”; const PickDates = () => { const pickerStyles = { boxShadow: “0px 2px 10px rgba(0, 0, 0, … [Read more…]
HOW TO MAKE CUSTOM FILE UPLOAD BUTTON USING MUI IN REACT
CUSTOMIZE FILE UPLOAD BUTTON USING MUI COMPONENT We have to use three MUI component here to customize the file upload button TextField of type =’file’ InputLabel which will be attached to upload button Textfield using its “id” in htmlFor props. Then we have to put the Button … [Read more…]