I want someone helps me with my school project step by step please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want someone helps me with my school project step by step please

Your calculator is going to contain functions for all of the basic math operators you typically find on simple calculators, so start by creating functions for the following items and testing them in your browser's console. add subtract multiply divide Create a new function operate that takes an operator and 2 numbers and then calls one of the above functions on the numbers. Create a basic HTML calculator with buttons for each digit, each of the above functions and an "Equals" key. Do not worry about wiring up the JS just yet. There should also be a display for the calculator, go ahead and fill it with some dummy numbers so you can get it looking right. Add a "clear" button. Make it look nice using an external CSS sheet! Create the functions that populate the display when you click the number buttons... you should be storing the 'display value' in a variable somewhere for use in the next step. Make the calculator work! You'll need to store the first number that is input into the calculator when a u

6th May 2020, 2:00 AM
Mohamed Ehab
Mohamed Ehab - avatar
1 Answer
+ 2
Good advice. I wil try my best then ask 🤦‍♂️
6th May 2020, 3:28 AM
Mohamed Ehab
Mohamed Ehab - avatar