Milan Chourasia

Front End Development

How to fetch API data in ReactJS ?

We can fetch data by using the Javascript fetch() method. The Fetch API is a new standard to server requests with Promises, it also includes additional features. This blog will help you understand the implementation of fetch API in both functional and class components by walking through each one with sample code. Let’s start - Consider...

11-Nov-2022

Technology

Stylish input type file upload with image Preview

Few days back I have tried to change the look of input type file but unable to change like background,border etc. Actually, it looks different in all browsers. Now I found a solution to do this. Here is the HTML which have been used:- [java] <div class="uploadOuter"> <input type="text"...

11-Feb-2016

Technology

How to create Stylish Select-box,Radio button,Checkbox

Stylish Select-box HTML [java] <select class="selectBox"> <option>Select</option> <option>New Delhi</option> <option>Mumbai</option> </select> [/java] CSS [java] .selectBox{ appearance: none;-webkite-appearance: none;-moz-appearance: none;-o-appearance:...

03-Nov-2015

Technology

How to compile Less file into CSS file ?

Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 – Download and Install nodejs from https://nodejs.org/ Step 2...

13-Jul-2015