Closed Nkaleth closed 1 year ago
Objectives of this PR:
Create a new directory called logic inside your project
Copy the files calculate.js and operate.js into the logic/ directory
Install big.js using NPM
Import the files in your Calculator.js component
Implement click event handlers using the math logic from calculate.js and operate.js in your React component
Test the app in the browser. The Calculator should be able to perform math operations.
Objectives of this PR:
Create a new directory called logic inside your project
Copy the files calculate.js and operate.js into the logic/ directory
Install big.js using NPM
Import the files in your Calculator.js component
Implement click event handlers using the math logic from calculate.js and operate.js in your React component
Test the app in the browser. The Calculator should be able to perform math operations.