Posts from JavaScript

Get last n items from an array in JavaScript

By Faruque Ahamed Mollick

I am again here with a new JavaScript solution. In this tutorial, you are going to learn how to get last n items from an array in JavaScript programming. For example, suppose you h.... Read More

Remove Duplicate Values from a JavaScript Array

By Faruque Ahamed Mollick

In this tutorial, you will see how to remove duplicate values from a JavaScript array with simple and quick examples of JS code. First of all, I would like to let you know that, th.... Read More

Send POST data in JavaScript using XMLHTTPRequest

By Faruque Ahamed Mollick

On the web, it is often necessary to send HTTP requests with post data. In this article, you will learn how to send post data in JavaScript using the XMLHTTPRequest object. The XML.... Read More

JavaScript mousemove Event | Execute on moving mouse pointer

By Faruque Ahamed Mollick

The JavaScript mousemove event executes when the mouse pointer moves over an element. With onmousemove event, we can execute our JavaScript code on moving the mouse pointer. Every .... Read More

Convert comma separated string to an array in JavaScript

By Faruque Ahamed Mollick

In this article, you are going to learn how to convert a comma separated string into an array in JavaScript. All the elements of our array will hold the items separated by commas. .... Read More

JavaScript string replace() method | Replace string part

By Faruque Ahamed Mollick

JavaScript has an in-built string.replace() method that is used to replace part of any given string with another string or a regular expression. Here, we just have to pass a value .... Read More

Generate QR code in JavaScript quickly

Generate QR code in JavaScript quickly

By Faruque Ahamed Mollick | October 19, 2019

If you are reading this article, then you must be familiar with the QR code. QR code stands for Quick Response code. It is actually a trademark for a type of matrix barcode. If you are familiar with JavaScript then you may be interested in QR code generation using this programming language on the browser. […] Read More

How to rotate an image on mouse hover using CSS

By Utkarsh Tiwari

Hey Folks, I am back with another tutorial of CSS. In this tutorial, we will learn how to rotate an image on mouse hover using CSS. So you must have encountered images or ads on a .... Read More