+ 3

Rectangle & triangle

I need an html form that have 2 buttons that calculate the tri & rect , when i click on button it shows 2 fields to know what’s the area of rect , the input from the user . And the tri same . Also after you press the button it should be all in alert()

24th Apr 2018, 7:59 PM
Omar Abdullah
Omar Abdullah - avatar
12 ответов
+ 1
gonna work on it for you :)
24th Apr 2018, 8:22 PM
Roel
Roel - avatar
+ 1
https://code.sololearn.com/W9m9xik9JsPO/?ref=app first version (i used some html to make it look better)
24th Apr 2018, 10:11 PM
Roel
Roel - avatar
0
How do I contact you other than here ? Email ? Skype ? Whatsapp ?
24th Apr 2018, 8:26 PM
Omar Abdullah
Omar Abdullah - avatar
0
you can mail me at freerunlife2@gmail.com
24th Apr 2018, 8:26 PM
Roel
Roel - avatar
0
because im working on pc now and dont have skype
24th Apr 2018, 8:27 PM
Roel
Roel - avatar
0
Kk
24th Apr 2018, 8:29 PM
Omar Abdullah
Omar Abdullah - avatar
0
he wants something like this you have 2 text inputs, and a button and if you click on that button it will calculate the area of the shape with the two inputted numbers if im right
24th Apr 2018, 8:49 PM
Roel
Roel - avatar
0
On the first 2 button like rectangle and triangle , for button rectangle when I click it it shows alert with 2 fields for calculate the area of rectangle . Also for triangle . And the answer shows on alert :)
24th Apr 2018, 8:53 PM
Omar Abdullah
Omar Abdullah - avatar
24th Apr 2018, 10:17 PM
Roel
Roel - avatar