Remove all whitespace from a string in JavaScript
Today, we’ll explain to you how to remove all whitespace from a string in JavaScript. Replacing whitespace or blank space from a string is a common task. We can easily...
Today, we’ll explain to you how to remove all whitespace from a string in JavaScript. Replacing whitespace or blank space from a string is a common task. We can easily...
Today we’ll show you how to generate and download a QR code image in React. You may need to generate a QR code image based on the given information such...
Today, we’ll explain to you how to combine two strings in JavaScript. We can assign a string to a variable and combine the variable with another string. Here, we will...
In this short article, we’ll show you how to disable the browser back button using JavaScript. Sometimes we need to prevent the user from going back to the previous page...
Google has introduced reCAPTCHA v3 verification to prevent spamming and abusive terrific traffic on websites. In this tutorial, we’ll explain to you an easy way to integrate Google reCAPTCHA v3...
In this short article, we will show you how to remove the first element from an array in JavaScript. Here, we’ll discuss about the two different methods to remove the...
In this article, we will show you how to connect two rectangles with a line on canvas using React. In previous articles, we have explained the drawing of rectangles, lines,...
In this article, we’ll discuss how to copy text to the clipboard using JavaScript. Generally, Ctrl + C keyboard shortcut is used to copy text to the clipboard for the...
Today, we will show you how to implement multi-languages in React. Sometimes you may need to add multi-language support to a website or a react web application like English, Chinese,...
In this article, we’ll discuss the date range search with jQuery Datepicker using Ajax, PHP and MySQL. Here, we will see how to search data from a MySQL database based...
Today, we’ll discuss how to convert a date format in PHP. For example if we have date in YYYY-MM-DD format and need to convert it to DD-MM-YYYY format. Using built-in...
Today we’ll show you how to get the last N number of elements from an array in JavaScript. There are multiple ways to get last N number of items from...
Today we’ll show you how to upload images to Cloudinary using the REST API. There are many options for uploading files to Cloudinary but in this article, we will upload...
Today we’ll explain to you how to extract email addresses from a string in PHP. At some point, we need to extract an email address from a long text string...