Posts by Faruque Ahamed Mollick

Author Biographical Info: Not available

Run JavaScript code or call a function after n seconds

By Faruque Ahamed Mollick

In this short tutorial, we are going to show you how to run our JavaScript code or call a function after a specific time or after n seconds after the window load. Suppose we want t.... Read More

How to check the internet connection status in JavaScript

By Faruque Ahamed Mollick

In this tutorial, we are going to see how to check the internet connection on our browser using JavaScript so that it is possible to see if online or offline. Checking the internet.... Read More

How To Display A Random Image From Directory In PHP?

By Faruque Ahamed Mollick

Suppose we have a directory that is contained with some images and we want to display one of those images on our web page. The image that will be displayed on the web page will ran.... Read More

Generate random hex CSS color code in JavaScript

By Faruque Ahamed Mollick

We can set the color of text or background color of any element by set the hex color through CSS. Now in this post, we are going to generate the random CSS hex color code using Jav.... Read More

Select element by its attribute in jQuery

By Faruque Ahamed Mollick

Selecting an element by its attribute is possible and it is so easy also in jQuery. Now we are going to see how to select an element by the attribute using jQuery. At first, let.... Read More

Easy to use PHP function to show random image from a particular directory

By Faruque Ahamed Mollick

In this post, we are going to see a PHP function that is very easy to use and can be used to show a random image from a particular directory on our web page. Below is the code of o.... Read More

Delay in loading external JavaScript file

By Faruque Ahamed Mollick

Previously we have learned how to delay in executing JavaScript code from this post – How to delay in loading JavaScript code?. We used setTimeout() JavaScript window metho.... Read More

How to delay in loading JavaScript code?

By Faruque Ahamed Mollick

In this tutorial, we are going to see how to Delay in loading our JavaScript code on a web page. Suppose we want to delay our JavaScript code for few seconds. Here we are going to .... Read More

Related Posts