Recent blogs
Learn how to create environment variables only to be used in the development version in Nextjs
Learn how to create environment variables only to be used in the production version in Nextjs
Learn how to create and use environment variables in Nextjs
Learn how to clear the text in the input field using hooks in Reactjs
Learn how to get the index of the current item in a for...of looping statement in JavaScript
Learn how to use the document.styleSheets to get all the external CSS stylesheets links from a webpage using JavaScript
Learn how to use the onChange handler to get user input value from an input tag in Reactjs
Learn how to make a show or hide password toggle button in Reactjs
Learn how to change the last commit message in Git
Learn how to use the alias command to create short command for commonly used long commands in Linux
Learn how to check if a string contains emojis in JavaScript
Learn how to use the useLayoutEffect hook to focus input tag element using hooks in Reactjs
Learn how to check if a string is empty in JavaScript
Learn 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 number using regular expression (regex) in JavaScript
Learn how to use the designMode property to edit the webpage in realtime on the browser itself using JavaScript
Learn how to use the isConnected element property to check if an element is attached to the DOM using JavaScript
Learn how to use the activeElement property to get the focussed element on a webpage using JavaScript
Learn how to wrap long single words into a new line using CSS
Learn how to use the scrollTo() method to scroll to the bottom of the webpage using JavaScript
Learn how to use the scrollTo() method to scroll to the top of a webpage using JavaScript
Learn how to use the scrollTo() method to scroll to a specific position in a browser window using JavaScript
Learn how to use the pageYOffset and pageXOffset properties to get the current scroll state value of the window using JavaScript
Learn how to open a new tab without getting blocked by the browser using JavaScript
Learn how to use the getElementsByTagName() method to get all the HTML tags from a website using JavaScript
Learn how to use the eval() function to execute a valid code string in JavaScript
Learn how to use the filter() array method to find an object from an array of objects using the property value in JavaScript
Learn how to get the width and height of window using JavaScript
Learn how to use the window.navigator object to check if the cookie is enabled in a browser using JavaScript