First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Create a single page application of a calculator using React.
If you don't know where to start, open the calculator of your smartphone.
We will pay attention to the following points when reviewing your code:
- The code is clean and readable.
- It is possible to perform basic operations (
+
-
x
/
). - The calculator is well designed and user-friendly.
For more points, feel free to pimp up the calculator. Here is a non-exhaustive list of features you could add:
- Show an history of the previous operations
- Add the possibility to use the numeric keys of your keyboard
- Add an undo/delete button
- Include an easter egg (use your creativity)
- Add a dark mode
- Add a demo page
- Perform more complex operations (square, square root, log, etc...)
- Make the app responsive
- Include tests in your code
- Add an authentication process before accessing the calculator
- Handle multiple languages
- Anything you think of !
- etc.
The only required technology is React. You can use anything on top of it – framework, library, etc.
Here is a list of technologies we use at *****:
❗ We don't necessarily expect you to use these technologies, this is just for your information.