Skip to content
the poor coder

Home / Topics / #javascript

#javascript

2,247 posts · page 66 of 113
2023

javaScript Math.sign()

Understanding JavaScript Math.sign() JavaScript is a programming language that is commonly used for creating dynamic web pages. One of the built-in functions in JavaScript is Math.sign(). This function is used to…

javascript2 min read
2023

order by desc psql

Order by Desc in PSQL When working with SQL databases, it is common to sort the results of a query by one or more columns. In PostgreSQL (PSQL), the ORDER BY clause is used to accomplish this. By default, the sorting is…

javascript1 min read
2023

JavaScript and HTML DOM Reference

JavaScript and HTML DOM Reference JavaScript is a programming language used to create interactive and dynamic websites. It can be used to manipulate HTML elements on a web page, creating animations and user…

javascript1 min read
2023

cors error in node js express

CORS Error in Node.js Express If you are a backend developer using Node.js and Express, you might have encountered the CORS error. This error usually occurs when you try to make a cross-origin request from your frontend…

javascript2 min read
2023

Regex to match a multiline comment

Regex to match a multiline comment If you're working with code, it's essential to know how to match a multiline comment using regex. In programming languages such as C++, Java, and Python, multiline comments are crucial…

javascript2 min read
2023

stackoverflow: using es6 spread operator

Using ES6 Spread Operator in JavaScript ES6 spread operator is a new feature introduced in JavaScript that allows us to expand iterable objects such as arrays, objects, or strings into single elements. It is denoted by…

javascript2 min read
2023

useEvent hook in react18

Understanding the useEvent Hook in React 18 React 18 is an exciting new release that introduces several new features, including the useEvent hook. This hook enables developers to easily handle events in their React…

javascript3 min read
2023

javascript unicode

Javascript Unicode Unicode is a character encoding standard that assigns unique numbers to each character from all the world's writing systems. It allows computers to represent and manipulate text in a standard way…

javascript1 min read
2023

jquery search button

JQuery Search Button If you are a web developer or a designer, you may have come across the need to add a search button to your website or application. A search button is a quick and easy way for users to find what they…

javascript2 min read
2023

laravel save to s3

How to Save Laravel Files to Amazon S3 If you are planning to save your Laravel files to Amazon S3, it is important to set up your Amazon Web Services (AWS) account first. After that, follow the steps below: Step 1…

javascript2 min read
2023

darkmode js

Darkmode JS Darkmode JS is a JavaScript library that allows you to add a dark mode toggle switch to your website or web application. It's a popular feature that's becoming more and more common in web design, as many…

javascript2 min read
2023

react hide source code

React Hide Source Code If you are looking for a way to hide your source code in a React project, there are a few ways to do so. One way is to use the pre and code tags for your code and then use a library like…

javascript1 min read
2023

regex find spaces in double quotes

Regex Find Spaces in Double Quotes When working with large amounts of data, it can be helpful to use regular expressions to find specific patterns. One common task is to find spaces within double quotes. Here are a few…

javascript1 min read
2023

js queryselector find without attribute

How to use JS querySelector to find elements without attributes As a web developer, it's common to use the querySelector method to select specific elements from the DOM. However, what if you want to select elements that…

javascript1 min read
2023

child element js

Child Element JS Child elements in JavaScript refer to any HTML element that is nested within another element. This nesting creates a hierarchical structure where the parent element contains the child elements. To…

javascript1 min read
2023

smtpjs cdn

SMTPJS CDN If you are looking to send emails from your website, SMTPJS CDN is a great option to consider. SMTPJS CDN is a JavaScript library that enables you to send emails directly from your website using SMTP servers…

javascript2 min read
2023

jquery mouseup javascript

jQuery Mouseup Event and Its Usage in JavaScript If you are looking for a way to detect when a mouse button is released, then mouseup event in jQuery is the perfect solution for you. This event is triggered when a mouse…

javascript2 min read
2023

isequal dayjs

isequal dayjs Dayjs is a lightweight and modern JavaScript library that allows us to manipulate, parse and display dates and times in our applications. It provides an extensive API for working with dates, including…

javascript2 min read
2023

javascript pluck from array of objects

Javascript Pluck from Array of Objects As a web developer, I have come across situations where I needed to extract a value from an array of objects in JavaScript. This process is known as "pluck" or "pick" and is a…

javascript2 min read
ESC