Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

how to add data modal target attribute in jquery

How to Add Data Modal Target Attribute in jQuery Adding a data modal target attribute in jQuery is a common task when creating modal windows or pop-ups in web development. This attribute allows you to define the target…

javascript1 min read
2023

setTimeout vs requestAnimationFrame

setTimeout vs requestAnimationFrame When it comes to creating animations and running code at intervals, two popular methods are setTimeout and requestAnimationFrame. Both of these methods can be used to execute code…

javascript1 min read
2023

check for string anagram javascript

Checking for String Anagram in Javascript String anagram refers to a situation where two strings have the same characters but in a different order. For instance, "listen" and "silent" are anagrams. We can use Javascript…

javascript1 min read
2023

react js error stackoverflaw

React JS Error Stack Overflow - Understanding and Troubleshooting React JS is a popular JavaScript library used for building user interfaces. However, like any other programming language or library, it is not immune to…

javascript2 min read
2023

tailwind css calc

Tailwind CSS Calc Tailwind CSS is a popular utility-first CSS framework. It has many built-in classes that help developers to create responsive UI designs without writing custom CSS code. One of its useful features is…

javascript2 min read
2023

How to perform selection sort, in JavaScript?

How to Perform Selection Sort in JavaScript? Selection sort is a simple sorting algorithm that sorts an array by repeatedly finding the minimum element from an unsorted part of the array and putting it at the beginning…

javascript2 min read
2023

gitignore javascript

How to gitignore JavaScript files? If you are working on a project that involves JavaScript files, you might want to ignore them while committing your code to Git. Ignoring JavaScript files helps in keeping your…

javascript1 min read
2023

referenceerror process is not defined react vite

ReferenceError Process is not defined React Vite If you are facing a "ReferenceError: Process is not defined" error in your React Vite app, it means that the Vite build process is not able to find the Process object…

javascript1 min read
2023

javascript foreach function this parameter

Javascript forEach Function This Parameter If you are working with arrays in Javascript, you might have come across the forEach function. The forEach function is used to loop through the elements of an array and perform…

javascript2 min read
2023

Angular version chrome console

Angular version chrome console If you are working with Angular projects and noticed that the console is showing some errors or you want to know the version of Angular you are using, then you can get this information…

javascript1 min read
2023

why root url is always active in react

Why Root URL is Always Active in React If you're working with React, you might have noticed that the root URL of your application is always active. This means that even if you navigate away from the root URL, React will…

javascript1 min read
2023

javascript events

Javascript Events Javascript events are actions that occur on a web page, triggered by the user or the browser. They can be used to add interactivity to a website, such as changing the color of a button when it is…

javascript2 min read
2023

google distance value to km convert

Converting Google Distance Value to Kilometers If you have ever used the Google Maps Distance Matrix API, you may have noticed that the distance is returned in meters. However, often times we need to convert this value…

javascript1 min read
2023

default value input date js

Default Value in Input Date JS Input date is a type of input field in HTML that allows the user to select a date from a calendar. In JavaScript, we can set a default value for this field using the value attribute. This…

javascript1 min read
2023

convert json to csv npm

How to Convert JSON to CSV using npm If you have a JSON file and want to convert it to a CSV file, you can use npm packages to make the process easier. npm, or Node Package Manager, is a tool that allows developers to…

javascript2 min read
2023

can't find variable localstorage

Oh No! "Can't Find Variable Localstorage" Error! Have you ever encountered this error message while trying to access the localStorage object in JavaScript? Well, don't worry. You are not alone. This is a very common…

javascript2 min read
2023

javascript switch items in array

Javascript Switch Items in Array Switching items in an array can be done through several methods in Javascript. Here are some ways to achieve this: Method 1: Using the swap method The easiest way to switch items in an…

javascript1 min read
ESC