Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

iframe player youtube onfinish event

How to Use the onfinish Event with an iFrame YouTube Player If you want to add a YouTube video to your website, you can use an iFrame player. The player provides an easy way to embed videos on your website without…

javascript3 min read
2023

select prev item jquery

Select Prev Item jQuery As a web developer, I have come across situations where I needed to select the previous element in jQuery. There are several ways to achieve this, and I will be discussing them in detail below…

javascript2 min read
2023

discord js embeded message hyperlink

Discord.js Embedded Message Hyperlink Embeds are a great way to make your Discord server look more professional and organized. Embeds can contain various types of content, including images, text, and links. In this…

javascript2 min read
2023

mule 4 json to string json

Mule 4 JSON to String JSON If you are working with Mule 4 and want to convert JSON to string JSON, then there are a few ways to do it. Using DataWeave 2.0 The easiest way to convert JSON to string JSON in Mule 4 is by…

javascript2 min read
2023

json_populate_recordset

hljs.initHighlightingOnLoad(); What is JSON_POPULATE_RECORDSET? JSON_POPULATE_RECORDSET is a PostgreSQL function that allows you to convert a JSON array to a set of rows with defined columns. This can be useful when you…

javascript2 min read
2023

react clear input after button click

How to React Clear Input After Button Click Clearing an input field after a button click is a common requirement in web development. In React, there are multiple ways to achieve this. Let's take a look at two ways to…

javascript1 min read
2023

FORM api

Understanding FORM API FORM API is an essential part of Drupal that helps developers build and handle forms in their modules. It is a powerful tool that allows you to create, validate, and process forms with ease while…

javascript2 min read
2023

Remove Duplicates array values in javascript

hljs.initHighlightingOnLoad(); Removing Duplicate Array Values in Javascript As a web developer, I have often come across situations where I needed to remove duplicate values from an array in Javascript. There are…

javascript1 min read
2023

dictionary to list of dictionaries js

Dictionary to List of Dictionaries in JavaScript Converting a dictionary (object) to a list of dictionaries can be useful when you want to iterate over the key-value pairs of an object, or when you want to sort the…

javascript2 min read
2023

js scroll snap

What is JS Scroll Snap? JS Scroll Snap is a JavaScript function that enables smooth scrolling and snapping to designated elements on a web page. It allows you to create horizontal and vertical scrolling containers with…

javascript2 min read
2023

font awesome react share faShare

How to Use Font Awesome's React Component to Add a Share Icon Font Awesome is a popular icon toolkit that offers a wide range of icons for web developers to use in their projects. One of the most common use cases for…

javascript3 min read
2023

Creating react app

Creating a React App React is a popular JavaScript library for building user interfaces, and creating a React app is quick and simple. There are multiple ways to create a React app, but the most popular approach is…

javascript1 min read
2023

udpdate records using axios http put method

Updating Records using Axios HTTP PUT Method When it comes to updating records in a database using Axios, the HTTP PUT method is one of the most popular options. This method allows you to update an existing record in…

javascript2 min read
2023

react loop

React Loop React loop is a term used to describe the process of iterating over a set of data in a React component. This is a common task when building dynamic user interfaces that display lists of items or tables of…

javascript2 min read
2023

python class json serializable

Python Class JSON Serializable When working with Python, one often comes across the need to serialize objects into JSON format. However, not all objects can be serialized directly. This is where the concept of JSON…

javascript2 min read
2023

generator function fibonacci

Generator Function Fibonacci As a programmer, I have come across the concept of Fibonacci numbers quite often. A Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding numbers. A…

javascript1 min read
2023

discord js v12 get user tag with id

Discord JS v12 Get User Tag with ID In Discord JS v12, getting a user's tag with their ID can be accomplished in multiple ways. The most straightforward way is to use the fetch() method provided by the Discord API in…

javascript2 min read
2023

function const reactjs

Understanding Function Const ReactJS ReactJS is a popular JavaScript library for building user interfaces. It uses a unique approach to building applications, known as component-based architecture. This means that…

javascript2 min read
2023

node modules delete

Deleting Node Modules If you are a developer who works with Node.js, you may have noticed that your project directory gets filled with a node_modules folder containing all the dependencies of your project. This folder…

javascript1 min read
ESC