In this assignment you will create a basic calculator and style it using CSS
, inline styles
, or styled-components
.
As you can tell the current layout needs a lot of styling work. Modify the layout, components, and calculator logic however you want. Everything is free game!
- Get the calculator to work using
useState
(you do not need to useuseRef
). Your calculator should take two numbers and perform one of the following operations: addition, subtraction, multiplication, and division. Hitting = should output the correct result. Your calculator should also support clearing. - Style the calculator however you want. Feel free to use any colors, layout, and animations that you would like. Be creative!
- Deploy your application using any method you want (repo is setup for Github actions). Add the url: https://prof-tejera.github.io/homework-4-car1sle/
npm i && npm start