Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

javascript dollar sign

What is JavaScript dollar sign? JavaScript dollar sign, also known as jQuery dollar sign, is a shorthand notation used in jQuery to select elements in a HTML document. The dollar sign symbol, '$', is used to represent…

javascript1 min read
2023

user account in react

User Account in React When developing a web application with React, it's important to have a user account system that allows users to sign up, log in, and perform actions that require authentication. There are different…

javascript6 min read
2023

how to set javascript load order in html

How to Set JavaScript Load Order in HTML As a web developer, I have come across the need to set the JavaScript load order in HTML multiple times. It can be frustrating when your code is not working as expected due to…

javascript3 min read
2023

javascript-change color onclick()

Javascript Change Color onclick() Changing the color of an element on a webpage can be done easily with Javascript. One way to achieve this is by using the onclick() function. Example: Change Color on Button Click Here…

javascript2 min read
2023

syntax attribute same as name react

Syntax Attribute Same as Name React If you are a developer, chances are you have worked with React, a popular JavaScript library for building user interfaces. When working with React, you may come across the syntax…

javascript2 min read
2023

useeffect async not working

useEffect async Not Working As a web developer, I've come across situations where useEffect async doesn't work as expected. This can be frustrating, especially if there isn't an obvious solution. Below are some common…

javascript2 min read
2023

js organise string tab spaced

JS: Organizing a String with Tab Spacing As a developer, it is common to come across scenarios where you need to format or organize a string in a particular way. One such requirement could be to organize a string with…

javascript2 min read
2023

javascript base64 encode file input

How to Javascript Base64 Encode File Input If you need to encode a file input into a Base64 string using Javascript, you can follow these steps: Step 1: Read the File Input You first need to read the file input using…

javascript2 min read
2023

js function pick properties from object

Understanding JavaScript Functions that Pick Properties from Objects As a JavaScript developer, you may have come across objects and their properties. Sometimes, you may only need to work with specific properties of an…

javascript2 min read
2023

jquery closest

Understanding Jquery closest() If you are working with jQuery, you might have come across the term closest(). It is a method in jQuery that helps to find the nearest ancestor of an element that matches the provided…

javascript1 min read
2023

chrome dev tools console api

Chrome Dev Tools Console API Chrome Dev Tools Console API is an extremely powerful tool for developers to debug their code and test their website’s features. It provides a command-line interface to interact with the…

javascript2 min read
2023

how to check if array contains an item javascript

How to Check if Array Contains an Item in JavaScript If you are working with JavaScript, chances are that you will need to check if an array contains a specific item at some point. Fortunately, there are several ways to…

javascript1 min read
2023

Group item by date

Group item by date Grouping items by dates is a common requirement in web development. For instance, you might want to group blog posts by their publication date, or group sales data by the date of purchase. The…

javascript1 min read
2023

js destructuring explained

JavaScript Destructuring Explained If you are a JavaScript developer, you may have heard of the term "Destructuring". Destructuring is a feature introduced in ES6 that allows you to extract elements from arrays or…

javascript2 min read
2023

jquery click or touch

jQuery Click or Touch When it comes to web development, it is essential to create a user-friendly interface that provides an enhanced user experience. In this regard, jQuery plays a significant role in providing a…

javascript1 min read
2023

addeventlistener to button javascript

Adding Event Listener to Button using JavaScript Have you ever wanted to add a functionality to a button in your website, like displaying an alert message or redirecting to another page, when it is clicked? Well…

javascript2 min read
2023

javascript grab only even array index

Javascript: Grabbing only Even Array Index When it comes to working with arrays in Javascript, it's important to know how to manipulate the data in the array. One common task is to only grab the even array index. In…

javascript2 min read
ESC