The way to write your code

Get current Geolocation using JavaScript - Clue Mediator

Get current Geolocation using JavaScript

Today we’ll show you how to get current geolocation using JavaScript. In this small article, we will use JavaScript’s Geolocation API to get the latitude and longitude of the visitor’s...

Consume a REST API in PHP - Clue Mediator

Consume a REST API in PHP

Today we’ll show you how to consume a REST API in PHP. In the previous article, we have explained about how to create a REST API in PHP. Here we...

Create a REST API in PHP with MySQL - Clue Mediator

Create a REST API in PHP with MySQL

In this tutorial, we will explain to you how to create a REST API in PHP with MySQL. Before we start, you might need to know about the REST API...

How to create step wizard in React - Clue Mediator

How to create step wizard in React

Today we’ll show you how to create step wizard in React without any plugin. In this article, we will use the pure CSS and ReactJS state to create an example...

Audio player in React with example - Clue Mediator

Audio player in React with example

Today we’ll show you how to implement an audio player in React with example. We had written an article to Embed YouTube video in ReactJS and also show you How...

useState with an array in React Hooks - Clue Mediator

useState with an array in React Hooks

Today we’ll show you how to use the useState with an array in React Hooks. In the previous article, we learned about the use of useState with object in React...

useState with object in React Hooks - Clue Mediator

useState with object in React Hooks

Today we’ll show you how to use the useState with object in React Hooks. When we are dealing with the object in the state variable then we have to manage...

Read CSV file in React - Clue Mediator

Read CSV file in React

Today we’ll show you how to upload and read CSV file in React. Basically, we’ll show you an example to upload or Import CSV file and read the data of...

useState Hook in React - Clue Mediator

useState Hook in React

In this article we will learn the very first hook which is the state hook called useState Hook in React. Here we’ll create a simple class component and then try...

Calculate age in years using JavaScript - Clue Mediator

Calculate age in years using JavaScript

In this short article, we will show you how to calculate age in years using JavaScript. We’ll learn how to calculate the user’s age from their date of birth and...