Skip to content
the poor coder

Home / Topics / #javascript

#javascript

2,247 posts · page 102 of 113
2023

moment subtract day

Moment Subtract Day When we talk about moment subtract day, it means that we want to subtract a certain number of days from a specific date using the moment.js library. Using Moment.js Moment.js is a popular library…

javascript2 min read
2023

get element by xpath in javascript

How to get an element by XPath in JavaScript? If you are working on a web project and need to fetch an element by XPath in JavaScript, then you can follow these steps: Step 1: Find the XPath of the element The first…

javascript2 min read
2023

javascript add element to serialized form array

How to Add Element to Serialized Form Array in JavaScript Adding an element to a serialized form array in JavaScript can be done through several methods. Here are some ways: Method 1: Using the push() Method The push()…

javascript1 min read
2023

how to make a rectangle in javascript

How to Make a Rectangle in JavaScript If you are looking to create a rectangle in JavaScript, you have a few options available to you. Below, we will explore a couple of different methods for creating rectangles in…

javascript2 min read
2023

download comma separated file, react

Download Comma Separated File in React Introduction In this tutorial, we will learn how to download a comma-separated file in a React application. We will be using the FileSaver.js library to achieve this functionality…

javascript2 min read
2023

javascript compose function

What is JavaScript Compose Function? JavaScript Compose Function is a higher-order function that takes multiple functions as arguments and then returns a new function. This new function is composed of all the functions…

javascript2 min read
2023

schema knex.js

Understanding Schema in Knex.js As a developer, working with databases is an integral part of my job. One tool that I find particularly useful for database management is Knex.js. Knex.js is a SQL query builder that…

javascript2 min read
2023

svelte electron

Svelte Electron If you are looking for a powerful desktop application development tool, Svelte Electron is definitely worth your attention. Svelte is a JavaScript framework that allows you to build web applications with…

javascript2 min read
2023

[[Prototype]]

Understanding [[Prototype]] in JavaScript As a web developer, I have come across the concept of [[Prototype]] many times while working with JavaScript. In simple terms, [[Prototype]] is an internal property of an object…

javascript2 min read
2023

JavaScript substr()

JavaScript substr() The substr() method in JavaScript is used to extract a part of a string, starting from a specified position and for a specified length of characters. It can be used to retrieve a substring from the…

javascript1 min read
2023

Simplest Promise Example

What is a Simplest Promise Example? A Promise is an object that represents the eventual completion or failure of an asynchronous operation and its resulting value. It is a way to handle asynchronous operations such as…

javascript1 min read
2023

cordova delete cache

How to delete cache in Cordova Cordova is a popular framework used by developers to create mobile applications. In some cases, these applications may experience issues due to cached data. To resolve such issues…

javascript1 min read
2023

react position absolute

Understanding React Position Absolute In React, position absolute is a way to place an element in a specific position on a page, without affecting the layout of other elements. This is useful when you want to create…

javascript2 min read
2023

js matrix

JS Matrix JS Matrix is a powerful tool that enables you to work with matrices in JavaScript. A matrix is a collection of numbers, arranged in rows and columns, and JS Matrix provides a variety of functions to manipulate…

javascript2 min read
2023

Lazy loading images

Lazy Loading Images Lazy loading images is a technique that allows website owners to improve page load time and overall user experience by loading images only when they are needed or viewed by the user. This technique…

javascript2 min read
2023

request entity too large

What is "Request Entity Too Large" error? "Request Entity Too Large" is an HTTP error that occurs when a client sends a request to a server that exceeds the maximum size limit set by the server. This error message…

javascript1 min read
2023

what are the uses of babel js

What are the uses of Babel JS? If you're a web developer, you might have heard of Babel JS. It's a popular tool that allows you to write modern JavaScript code and convert it into backward-compatible code that can run…

javascript2 min read
2023

post xml with axios nodejs

If you're looking to send XML data using Axios in Node.js, you can do so by following these steps: Install Axios and xml2js packages in your Node.js project using npm. Require both packages in your Node.js file. Convert…

javascript2 min read
2023

sort array iso string date

Sorting an Array of ISO String Dates in HTML Sorting an array of ISO string dates can be a challenging task. One of the most effective ways to accomplish this is to convert the strings into date objects and then sort…

javascript1 min read
ESC