HTML input tag with type="number" returns value as string

input type=" number" here we can see an input type is a number, but behind the scene, it is a string. It tells the browser that the user should only be allowed to enter digits and other characters like 'e', '-', '+', '.' which are used for floating point numbers. It is used for validation purposes as well.

Read More

Taking input in React using useState and useRef Hook. What's the difference?

Let's first have a look at what exactly useState and useRef hooks in React are and then move to the example of taking input using both the hooks and understand how can we make their proper use according to the need.

Read More

Convert existing React Web App to PWA

What is PWA? The Progressive Web App(PWA) is an application developed from a website that uses HTML, CSS, Javascript, and some frameworks like Angular/React. The User Interface of the website is designed mobile responsive so that it looks and behaves like a mobile app.

Read More