amazing4.comJS -- LocaleComparelocalecompare is a method in javaScript, used for string comparison, returning a result based on their lexicographical order (order of characters based on unicode values). As a function, it takes in three parameters namely: String --- The string you...Jan 19, 2024·2 min read
amazing4.comDrag And Drop In JavaScriptDrag and drop is a user interface (UI) interaction technique that allows users to move or manipulate digital objects (such as files, images, or elements on a webpage) by clicking and dragging them from one index and dropping them onto another. This t...Sep 2, 2023·5 min read
amazing4.comOnclick -- Move To The TopIn this article, we will be looking at how to move the clicked item to the first index. Emphasis in this article is not on the UI but on the functionality. Before we proceed further, here are the prerequisite things to do before we dive in fully to t...Aug 30, 2023·4 min read
amazing4.comCreate a Blob with just HTML & CSSHtml and css are the core building block of a website. They are used to build tons of amazing stuffs in a website. Things like : Text Images Animations Text and Background Colors etc. are built with just html and css. All frontend frame works a...Mar 23, 2023·2 min read
amazing4.comReact Hook - useLayoutEffectuseLayoutEffect is a React Hook that's mostly used in the position of object in the Dom without flicking. It is similar to useEffect hook. Both hooks are similar in structure and function but the difference between them is that the previous(useLayout...Feb 20, 2023·2 min read