Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

How To Set Opacity of a View In React Native

How To Set Opacity of a View In React Native If you're building a React Native application, you might find yourself needing to set the opacity of a view. This can be useful for creating overlays, adding visual effects…

javascript2 min read
2023

iterate object in react

Iterating Objects in React When building applications in React, it's common to work with objects that contain data. To access and display this data, we need to iterate over the object. There are several ways to do this…

javascript2 min read
2023

array in js

Array in JavaScript Arrays are a type of object in JavaScript that can store multiple values in a single variable. In other words, it is a collection of data items of the same type stored in contiguous memory locations…

javascript3 min read
2023

difference between 2 date times node js

Difference Between 2 Date Times in Node.js If you want to calculate the difference between two date times in Node.js, you can do it in several ways. Here are some methods: Method 1: Using the Date Object You can use the…

javascript2 min read
2023

Array Includes

Array Includes Array includes is a method in JavaScript that allows us to check if an array includes a certain element or not. This method returns a boolean value (true or false). It helps us to avoid using loops to…

javascript1 min read
2023

function()

Understanding the Function() As a web developer, I often use a lot of functions in my code. The function() is a fundamental building block of JavaScript programming language. It allows us to group a set of statements…

javascript2 min read
2023

queryselectorall child element

Understanding QuerySelectorAll Child Element If you are a web developer, you may have come across the term QuerySelectorAll Child Element. This is a handy JavaScript method that allows you to select all the child…

javascript1 min read
2023

slick slider attribute activation

Slick Slider Attribute Activation As a blogger and web developer, I have used Slick Slider on multiple occasions for creating responsive and user-friendly sliders on my websites. The Slick Slider is a popular jQuery…

javascript2 min read
2023

declare array in javascript

How to declare an array in JavaScript? Arrays are a type of variable in JavaScript that allow you to store multiple values in a single variable. This can be useful for organizing data and making it easier to access and…

javascript1 min read
2023

object same rotation of camera three js

Object Same Rotation of Camera Three.js When working with Three.js, it is often desirable to have an object in the scene rotate in the same way as the camera. This can be useful for creating effects such as billboards…

javascript1 min read
2023

how to create object dynamically in javascript

How to Create Object Dynamically in JavaScript Creating objects in JavaScript is a crucial part of programming. Object creation is done in two ways: Literal notation Constructor notation Literal Notation The literal…

javascript2 min read
2023

dynamiv image change js

Dynamic Image Change with JS If you want to change images dynamically based on user interactions, JavaScript (JS) is the way to go. There are multiple ways to achieve this, but I will explain two commonly used methods…

javascript1 min read
2023

The Module design pattern in javascript

The Module Design Pattern in JavaScript As a web developer, I have come across various design patterns in JavaScript. One of the most popular patterns is the Module pattern. The Module pattern is a way to encapsulate…

javascript3 min read
2023

jquery remove array of classes

How to Remove an Array of Classes Using jQuery If you are working with jQuery, you can use the .removeClass() method to remove one or more classes from an element. In order to remove an array of classes, you can use a…

javascript1 min read
2023

purecomponent re rendering

PureComponent Re-Rendering As a developer, you may encounter issues with performance when your React app re-renders components unnecessarily. These unnecessary re-renders can occur due to changes in props or state that…

javascript2 min read
2023

moment add days non destructive

Moment Add Days Non Destructive Adding days to a date is a common requirement in web development. Moment.js is a popular JavaScript library that can be used to add days to dates in a non-destructive manner. Method 1…

javascript1 min read
2023

zip() and zipWith()

What are zip() and zipWith() functions in programming? The zip() and zipWith() functions are commonly used in programming languages to combine multiple lists or arrays into a single list or array. The zip() function…

javascript1 min read
ESC