How to Increase and Decrease Current Capacity (Size) of ArrayList in Java

By Saruque Ahamed Mollick

Java ArrayList is initialized by a size and the default size of ArrayList in Java is 10. Java ArrayList is nothing but a part of Java Collection Framework and resided in Java.util .... Read More

Popup notification using JavaScript and CSS that will hide after a certain time

By Faruque Ahamed Mollick

We often find popup notifications on many websites or web-based front-end application that hides after a certain amount of time automatically. Today we are going to make our own po.... Read More

Make an HTML5 video in slow motion using DOM playbackRate property

By Faruque Ahamed Mollick

Here in this tutorial, you are going to learn how to control the playback speed of an HTML5 video to give it a slow motion effect. Let’s first write our HTML code: <video .... Read More

Disable HTML button after the first click on it in JavaScript

By Faruque Ahamed Mollick

There are situations when you need to prevent a button from clicking on it on a web page after the first click. For example, on a registration form if we allow clicking multiple ti.... Read More

How to delete or remove array element in PHP?

By Faruque Ahamed Mollick

We can delete or remove array element from an array easily. Using the unset() PHP function, we can delete or remove one element from an array. We can delete multiple array elements.... Read More

Calculate the distance between mouse and element in jQuery

By Faruque Ahamed Mollick

In this tutorial type post, we are going to calculate the distance between mouse and an element. We are going to measure the distance of mouse cursor from the element and show it o.... Read More

How to remove the last comma from a PHP foreach loop?

By Faruque Ahamed Mollick

Using PHP foreach loop, we can list the items of an array easily. Also, sometimes we may need to give comma signs after each array. But in English grammar, we should not place the .... Read More

Detect the browser in PHP

By Faruque Ahamed Mollick

In this tutorial, we are going to see how to detect the browser of a user using PHP programming language. Here we are going to create our own custom PHP function which we can call .... Read More

Related Posts