issues
search
Nkaleth
/
Math-magicians
"Math magicians" is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to: make simple calculations, read a random math-related quote. By building this application,I will learn how to use React.
https://reactproject-math-magicians.onrender.com/
1
stars
0
forks
source link
Math magicians: components
#2
Closed
Nkaleth
closed
1 year ago
Nkaleth
commented
1 year ago
Objectives of this PR:
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: Calculator
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
Test it in the browser; it should render without problems.
Objectives of this PR: