Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

javascript open new window with html content

How to Open a New Window with HTML Content using JavaScript Opening a new window with HTML content using JavaScript can be quite useful in many situations. For instance, you can use it to display a form or a table that…

javascript2 min read
2023

japan

Japan There are many other aspects of Japan that make it such a unique country to visit or learn about. From its beautiful landscapes to its unique fashion trends, Japan has something to offer everyone.

javascript1 min read
2023

javascript regex remove numbers

Javascript Regex: Remove Numbers If you need to remove numbers from a string in Javascript, you can use regular expressions (regex) with the replace() method. Method 1: Remove all numbers To remove all numbers from a…

javascript1 min read
2023

refreshing a page with jquery

Refreshing a Page with jQuery If you want to refresh a web page using jQuery, you can do so using the location.reload() method. This method will reload the page from the server and clear the cache. You can use this…

javascript1 min read
2023

using map in useeffect

Using Map in useEffect If you are working on a React project, you might have come across the useEffect hook. It is used to perform side effects in functional components. One of the common use cases of the useEffect hook…

javascript2 min read
2023

what is on and once in node

What is "on" and "once" in Node.js? In Node.js, events are at the core of its asynchronous, event-driven architecture. They allow certain parts of your code to listen for specific events and then respond accordingly…

javascript1 min read
2023

nodejs redis setex

Node.js Redis Setex Redis is an open-source, in-memory data structure store that can be used as a database, cache, and message broker. It supports various data structures such as strings, hashes, lists, sets, and more…

javascript3 min read
2023

run build version react

How to Run Build Version React? If you are working with React, you may need to run a build version of your project. Here, I will explain how to do that. Method 1: Using the Command Line The easiest way to run build…

javascript1 min read
2023

how to find missing number in array

How to Find Missing Number in Array As a programmer, it is not uncommon to encounter an array that has a missing number. This could happen due to various reasons, such as human error or data corruption. Thankfully…

javascript3 min read
2023

Shuffle an Array, array, js

Shuffle an Array in JavaScript If you are working with arrays in JavaScript, you may sometimes want to shuffle their elements randomly. There are several ways to do this, and in this post, I will explain some of them…

javascript2 min read
2023

how make calender in bootstrap

Creating a Calendar in Bootstrap If you want to create a calendar in Bootstrap, you have a few different options. Here are a few ways to accomplish this: 1. Use a Bootstrap Calendar Plugin One easy way to create a…

javascript3 min read
2023

update formgroup value angular

Update FormGroup Value in Angular As someone who has worked with Angular, I understand the importance of updating the values in a FormGroup. A FormGroup is a collection of FormControl instances that can be used to…

javascript1 min read
2023

enzyme check state

Enzyme Check State Enzyme is a JavaScript testing utility for React that makes it easier to test React components' output. What is Enzyme Check State? Enzyme Check State is a method in Enzyme that allows you to check…

javascript2 min read
2023

spreadjs autofit column with minimum

SpreadJS Autofit Column with Minimum Autofitting columns in a spreadsheet is a great way to ensure that all the data fits in the column width. In SpreadJS, you can use the autofitColumn method to automatically adjust…

javascript2 min read
2023

sveltekit tailwind

SvelteKit with Tailwind Hey there, if you are someone who is into web development, you may have heard of Svelte and Tailwind CSS. Svelte is a new-age JavaScript framework that enables developers to create highly…

javascript2 min read
2023

javascript this inside arrow function

JavaScript this inside Arrow function As a JavaScript developer, you might have heard about arrow functions. They are a new way of writing functions in JavaScript that were introduced in ES6. Arrow functions are similar…

javascript2 min read
2023

what is lottie json

What is Lottie JSON? If you are a designer or developer who deals with animations, you might have heard about Lottie JSON. Lottie is an open-source library created by Airbnb that enables you to create animations…

javascript1 min read
2023

how to remove an item from localstorage

How to Remove an Item from LocalStorage Have you ever wanted to remove an item from LocalStorage, but didn't know how? Well, fear not! I've got you covered. Method 1: Using the removeItem() Method The simplest way to…

javascript1 min read
2023

graphql nodejs express

Understanding GraphQL, Node.js, and Express GraphQL, Node.js, and Express are powerful technologies when combined together. Let's break down what each of them does and how they work together. What is GraphQL? GraphQL is…

javascript2 min read
ESC