9 digits buttons calculator with 4 main aperations | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

9 digits buttons calculator with 4 main aperations

Hi! I want to code a calculator with numeric buttons(9 digit buttons) and 4 main operators. With a text box. When click on the digit button, the button number show in the textbox and operator shows too... only with HTML & PHP. Write it with PHP_ITSELF , GET and Function Thanks

20th May 2019, 9:10 PM
Amir bozorgi
Amir bozorgi - avatar
5 Answers
+ 2
if you get stuck in the middle, we can help. questions without code attempt is less likely to be entertained. please do your homework yourself, thanks.
21st May 2019, 12:06 AM
Gordon
Gordon - avatar
0
Check it, there is a calculator inside. Menu : HTML calculator. in my example that only need onclick event with html it self. https://code.sololearn.com/WHhLsZqeAgG8/?ref=app
20th May 2019, 9:16 PM
Andri Hry
Andri Hry - avatar
0
Only with php and html! Not with JS!
20th May 2019, 9:20 PM
Amir bozorgi
Amir bozorgi - avatar
0
Have you check it ?
20th May 2019, 9:21 PM
Andri Hry
Andri Hry - avatar
0
Yes it's correct but i need to use only HTML & PHP with GET, PHP_ITSELF and function
20th May 2019, 9:25 PM
Amir bozorgi
Amir bozorgi - avatar