issues
search
otmaneechchafyky
/
MathMagicians
is a mathematics website. It is a Single Page App (SPA) that allows users to make simple calculations and read random math-related quotes. Built with React.
MIT License
1
stars
0
forks
source link
Create the calculator design in Components
#3
Open
otmaneechchafyky
opened
1 year ago
otmaneechchafyky
commented
1 year ago
Delete all the boilerplate from Create React App (text, images, styles).
Create a new directory called components.
Inside components, create a new Calculator.js file.
In Calculator.js, create a React component that matches this design:
Implement the design only (JSX and CSS)
Develop just the UI of the calculator; the math logic to make it work will be added in the next project
Use functional components
Create at least 1 child component
Once the Calculator is ready, import it and use it in your top-level component: App.js
otmaneechchafyky
commented
1 year ago
Test it in the browser; it should render without problems.