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…]

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…]