Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

how to delay something in javascript

How to Delay Something in JavaScript? Delaying something in JavaScript can be useful in many scenarios, such as waiting for an animation to finish or delaying an action until a certain condition is met. There are a few…

javascript2 min read
2023

jquery delete a cookie

JQuery Delete a Cookie Cookies are small data files that websites save on your computer or mobile device. They store information such as login credentials or user preferences. Sometimes you may want to delete a cookie…

javascript1 min read
2023

how to add in array

How to add in array? Adding elements to an array is a fundamental operation in JavaScript programming. You can add elements to an array using different methods. Let's take a look at some of them: Method 1: Using the…

javascript2 min read
2023

read text file from node js firebase storage

How to Read Text File from Node.js Firebase Storage If you're working with Firebase and Node.js, you might need to read a text file stored in Firebase Storage. Here's how to do it: Method 1: Using Firebase Admin SDK The…

javascript2 min read
2023

else return

What is Else Return? Else return is a programming statement used in many programming languages to control the flow of execution of a program. Explanation In simple terms, else return statement is used to return a value…

javascript2 min read
2023

Node-RED blink

Node-RED Blink If you are looking to make a simple LED blink using Node-RED, you are in the right place. In this answer, I will explain how to use the built-in inject and function nodes in Node-RED to control an LED…

javascript3 min read
2023

node js quit

Node JS Quit Have you ever been in a situation where your Node JS application is running and you want to stop it? There are two ways you can quit a Node JS application. Method 1: Using CTRL + C The simplest way to quit…

javascript1 min read
2023

newtons second law of motion

Newton's Second Law of Motion Newton's second law of motion states that the acceleration of an object is directly proportional to the force applied, and inversely proportional to its mass. This means that if you apply a…

javascript1 min read
2023

selected option using javascript

Selected Option using JavaScript Have you ever wanted to know which option a user has selected in a drop-down list using JavaScript? Well, you're in luck because it's actually quite easy to do. First, let's set up our…

javascript2 min read
2023

redux toolkit store

Understanding Redux Toolkit Store Redux is a predictable state container for JavaScript applications that helps managing the application's state in a more structured way. Redux Toolkit is a package that aims to make…

javascript1 min read
2023

js foreach .childern

Understanding the JS foreach .children Method If you are a JavaScript developer, then you would be familiar with the foreach loop. It is used to iterate over the elements of an array or object. However, what if you want…

javascript2 min read
2023

jasmine sample code

Jasmine Sample Code If you are looking for a way to test your JavaScript code, Jasmine is a great option. It is a behavior-driven development framework that makes testing your code easy and efficient. In order to get…

javascript2 min read
2023

random in a range js

Random in a Range JS JavaScript provides a built-in Math object that allows you to generate random numbers in a range. You can use the Math.floor() and Math.random() methods to generate random numbers within a range…

javascript2 min read
2023

how to run react builed version

How to Run React Built Version If you have developed a React app and built it using the npm run build command, you might be wondering how to run it locally or deploy it to a server. Here are some ways to do it: Run…

javascript1 min read
2023

Jaden Casing Strings

Jaden Casing Strings Have you ever encountered a problem where each word in a string needs to be capitalized? Well, Jaden Casing Strings is the solution to that problem. In my personal experience, I had a blog where I…

javascript2 min read
2023

onclick readmore and readless react js

Onclick Readmore and Readless React JS If you want to create a read more and read less button in your ReactJS application, you need to use the state to keep track of whether the text is expanded or not. You can create a…

javascript2 min read
2023

decorators in javascript

Decorators in Javascript Decorators are a feature in Javascript that allows developers to modify or enhance the functionality of a particular object, function or class. These decorators in Javascript are similar to the…

javascript1 min read
2023

convert an array of strings to numbers

How to Convert an Array of Strings to Numbers Converting an array of strings to numbers is a common task in programming. Fortunately, it is a straightforward process in most programming languages. In this post, I will…

javascript2 min read
ESC