Hi, I'm Melvin George. I help the world by building quality software.

         

Recent blogs

How to check if the user came from a specific link or website in JavaScript?

Learn how to use the `referrer` property on the `document` object to check if the user came from a specific link or website in JavaScript

Read
JavaScript
How to check if the browser supports picture-in-picture mode using JavaScript?

Learn how to check if the browser supports picture-in-picture mode using JavaScript

Read
JavaScript
How to get environment variables into the browser context in Nextjs?

Learn how to get environment variables into the browser context in Nextjs

Read
Nextjs
How to pop out a specific stash from the stash list in Git?

Learn how to pop out a specific stash from the stash list in Git

How to abort the whole git stash process if a merge conflict has occurred in Git?

Learn how to abort the whole git stash process if a merge conflict has occurred in Git

How to create environment variables only to be used in the development version of Nextjs?

Learn how to create environment variables only to be used in the development version in Nextjs

Read
Nextjs
How to create environment variables only to be used in the production version of Nextjs?

Learn how to create environment variables only to be used in the production version in Nextjs

Read
Nextjs
How to create and use environment variables in Nextjs?

Learn how to create and use environment variables in Nextjs

Read
Nextjs
How to clear or reset the text in the input field using hooks in Reactjs?

Learn how to clear the text in the input field using hooks in Reactjs

Read
Reactjs
How to get the index of the current item in a for...of looping statement in JavaScript?

Learn how to get the index of the current item in a for...of looping statement in JavaScript

Read
JavaScript
How to get all the external CSS stylesheets links from a webpage using JavaScript?

Learn how to use the document.styleSheets to get all the external CSS stylesheets links from a webpage using JavaScript

Read
JavaScript
How to get user input value from an input tag in Reactjs?

Learn how to use the onChange handler to get user input value from an input tag in Reactjs

Read
Reactjs
How to make a show or hide password toggle button in Reactjs?

Learn how to make a show or hide password toggle button in Reactjs

Read
Reactjs
How to change the last commit message in Git?

Learn how to change the last commit message in Git

How to create short command for commonly used long commands in Linux?

Learn how to use the alias command to create short command for commonly used long commands in Linux

Read
Resource
How to check if a string contains emojis in JavaScript?

Learn how to check if a string contains emojis in JavaScript

Read
JavaScript
How to focus input tag element using hooks in Reactjs?

Learn how to use the useLayoutEffect hook to focus input tag element using hooks in Reactjs

Read
Reactjs
How to check if a string is empty in JavaScript?

Learn how to check if a string is empty in JavaScript

Read
JavaScript
How to check if a string contains at least one letter using regular expression (regex) in JavaScript?

Learn how to check if a string contains at least one letter using regular expression (regex) in JavaScript

Read
JavaScript
How to check if a string contains at least one number using regular expression (regex) in JavaScript?

Learn how to check if a string contains at least one number using regular expression (regex) in JavaScript

Read
JavaScript
How to create a circle using Pure CSS?

Learn how to create a circle using Pure CSS

How to edit the webpage in realtime on the browser itself using JavaScript?

Learn how to use the designMode property to edit the webpage in realtime on the browser itself using JavaScript

Read
JavaScript
How to check if an element is attached to the DOM using JavaScript?

Learn how to use the isConnected element property to check if an element is attached to the DOM using JavaScript

Read
JavaScript
How to get the focussed element on a webpage using JavaScript?

Learn how to use the activeElement property to get the focussed element on a webpage using JavaScript

Read
JavaScript
How to wrap long single words into a new line using CSS?

Learn how to wrap long single words into a new line using CSS

How to scroll to the bottom of the webpage using JavaScript?

Learn how to use the scrollTo() method to scroll to the bottom of the webpage using JavaScript

Read
JavaScript
How to scroll to the top of a webpage using JavaScript?

Learn how to use the scrollTo() method to scroll to the top of a webpage using JavaScript

Read
JavaScript
How to scroll to a specific position in a browser window using JavaScript?

Learn how to use the scrollTo() method to scroll to a specific position in a browser window using JavaScript

Read
JavaScript
How to get the current scroll state value of the window using JavaScript?

Learn how to use the pageYOffset and pageXOffset properties to get the current scroll state value of the window using JavaScript

Read
JavaScript
How to open a new tab without getting blocked by the browser using JavaScript?

Learn how to open a new tab without getting blocked by the browser using JavaScript

Read
JavaScript
Read more articles →