To run this app you should have Node.js installed on your computer
-
In your terminal go to this project's folder
-
Run command:
npm install
It will install the dependencies
- Run command:
npm run start
Open http://localhost:3000 to view this app in your browser.
In this project I tried not only to implement basic functionality, but also to make it a little non-standard and funny.
As for the functionality, I decided to perform input validation using regular expressions in such a way that the user simply cannot enter incorrect values, such as negative numbers, numbers with leading zeros, or fractional numbers where this is not intended.