The way to write your code

Get Current Date & Time in JavaScript - Clue Mediator

Get Current Date & Time in JavaScript

Today we will show you how to get current date & time in JavaScript. We will also show you how to get a current year, month, date, hours, minutes, seconds,...

Image zoom in ReactJS - Clue Mediator

Image zoom in ReactJS

Today we will show you how to implement the image zoom in ReactJS. When you are working with any e-commerce site at that time we have to implement image zoom...

How to Sort an Array in JavaScript - Clue Mediator

How to Sort an Array in JavaScript

Today, we will explain to you how to sort an array in javascript using sort method of the array. Sorting is nothing but lets you arrange data in a required...

Create simple Popup in ReactJS - Clue Mediator

Create simple Popup in ReactJS

Today we’ll show you how to create simple popup in ReactJS without the help of the npm packages. You can use it to implement Confirmation box, email subscription notifications and...

Compare two dates in JavaScript - Clue Mediator

Compare two dates in JavaScript

In this article, we will explain to you the best way to compare two dates in javascript and give you a simple guide that will help you to get the...

Spread Operator in JavaScript - Clue Mediator

Spread Operator in JavaScript

Today we will explain you about the spread operator in JavaScript. Spread Operator is introduced by JavaScript ES6 (ECMAScript 6). The syntax is three dots(…) followed by the array (or...