Posts by Faruque Ahamed Mollick

Author Biographical Info: Not available

Count the number of words in a string in JavaScript

By Faruque Ahamed Mollick

It is quite an easy task to count the number of words in a given string with JavaScript. In this article, I will show you how to perform this task. To count words from the string, .... Read More

Change Background Color on Mouse Hover in JavaScript

By Faruque Ahamed Mollick

In this JavaScript HTML DOM tutorial, I am going to show you how we can change the background color of an element. Before we get started, let’s create an HTML element with an.... Read More

Get the ratio of two numbers in JavaScript

By Faruque Ahamed Mollick

I am again here with another JavaScript solution. In this article, you are going to see how to get the ratio between two numbers in JavaScript. Well, when we all were in high schoo.... Read More

Get the ratio of two numbers in PHP

By Faruque Ahamed Mollick

In this article, I am going to guide you to show how to get the ratio of two numbers in PHP. Follow me to see how we can perform this useful task. I hope, you already know what is .... Read More

Check if div element with class name exists in JavaScript

By Faruque Ahamed Mollick

In this tutorial, we are going to check if div element with a specific class name exists or not in JavaScript. The JavaScript program we are going to write for the browser will abl.... Read More

Check if a variable is an array or not in PHP

By Faruque Ahamed Mollick

We often need to store an array in a variable. So here in this post, I am going to let you know how you can check whether a variable is an array or not in PHP. So let’s conti.... Read More

Human detection in webcam in JavaScript with ml5.js

By Faruque Ahamed Mollick

In this article, I am going to introduce you to a human detection project in JavaScript for the browser which is using ml5.js, a JavaScript library on top of TensorFlow.js. It can .... Read More

Simple neural network in JavaScript using TensorFlow.js

By Faruque Ahamed Mollick

In this tutorial, I will let you know how to create your first simple artificial neural network using the JavaScript TensorFlow.js library. The main purpose of this article is to g.... Read More