Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

modal javascript

What is Modal JavaScript? Modal JavaScript is a type of user interface design pattern that is used to display content or messages in a popup window on top of the current page. It is often used to grab the user's…

javascript2 min read
2023

comments js

Understanding Comments in JavaScript Comments in JavaScript are used to add notes or explanations to your code. They are not executed by the browser, but instead are ignored by the interpreter. This makes them useful…

javascript1 min read
2023

discord.js lock channel

How to lock a channel using discord.js If you are a server administrator or moderator, you may want to lock a channel in Discord to prevent other members from sending messages, or limit their ability to see messages in…

javascript2 min read
2023

check element exist in jquery

How to Check if an Element Exists in jQuery? If you are working with jQuery, you may need to check whether an element exists on the page or not. In this case, you can use the .length property of the jQuery object to…

javascript2 min read
2023

moment relative time

Moment Relative Time in HTML As a blogger, I have used Moment.js to display dates and times in a more readable format. One of the features that I often use is the "relative time" function, which displays how long ago a…

javascript1 min read
2023

How can I check if an object is an array

How to Check if an Object is an Array in JavaScript If you are working with JavaScript, you might need to check if a variable is an array or not. This can be done using several methods. Here's how: Method 1: Using…

javascript1 min read
2023

how to practice javascript

How to Practice JavaScript JavaScript is a programming language that is used to make websites interactive. It is an essential skill for web developers, and practicing it regularly is necessary to become proficient. Here…

javascript2 min read
2023

sort array

Sorting Arrays in JavaScript Sorting is a fundamental operation in programming. In JavaScript, we can sort arrays using the built-in sort() method. Syntax The sort() method has the following syntax: The compareFunction…

javascript2 min read
2023

shorten import paths javascript

Shorten import paths in JavaScript Importing modules in JavaScript can sometimes be a hassle, especially when working with deep nested files. Thankfully, there are a few ways to shorten import paths to make the process…

javascript2 min read
2023

argument and parameter

Argument and Parameter As a programmer, I understand that argument and parameter are two crucial terms that help in making the code more efficient and reusable. Both of these terms are used to pass values to the…

javascript2 min read
2023

best way to clone an object in javascript

Best Way to Clone an Object in JavaScript Cloning an object in JavaScript is a common task, especially when you want to create a copy of an object without modifying the original. There are several ways to clone an…

javascript2 min read
2023

luxon timestamp

What is Luxon Timestamp? If you're working with dates and times in your code, you may have come across the term "Luxon Timestamp". But what exactly is it? Simply put, a Luxon Timestamp is a way of representing a…

javascript1 min read
2023

Expected an identifier and instead saw '>'

Expected an identifier and instead saw '>' If you are a beginner in coding, then you might have come across this error message "Expected an identifier and instead saw '>'". This error message usually appears when you…

javascript2 min read
2023

axios get error response message

How to Handle Error Responses in Axios GET Request When making a GET request using Axios, it's important to handle any error responses that you might encounter. This can help to prevent unexpected behavior and make your…

javascript2 min read
2023

yellow fever mosquities

Yellow Fever Mosquitoes Yellow fever mosquitoes, also known as Aedes aegypti, are a type of mosquito that is responsible for transmitting the yellow fever virus. These mosquitoes are known to be active during the day…

javascript1 min read
2023

plyr.js example in angular 10

How to use plyr.js in Angular 10 Plyr.js is a powerful, accessible and customizable media player library that can be used in your Angular 10 projects. Here are some ways to use plyr.js in Angular 10: Using plyr.js with…

javascript2 min read
2023

unminify javascript

Unminify JavaScript If you have ever worked with JavaScript, you may have come across a minified version of the code. Minification is a process of removing any unnecessary characters from the code to make it smaller in…

javascript2 min read
ESC