+ 2

Draw a triangle using simple web codes[Challange]

Many can draw squares in HTML but now I challenge you to draw a triangle. It will take the base,height as user input. Then, it draw an actual triangle with that data given from the user. (Type up to you acute,reflex,etc) Have fun and amaze me.I spend hours cracking my head on wondering how it is done. GOOD LUCK,HAVE A GREAT DAY😀😀😀😀

23rd Feb 2018, 9:56 AM
xdeathbossx
3 Answers
0
A simple structure of the program https://code.sololearn.com/WNn9D5q0W9ST/?ref=app
24th Feb 2018, 10:46 PM
the_code_genin
the_code_genin - avatar
+ 1
I am not good at Javascript coding; so I leave it to u to figure out how to get user input! https://code.sololearn.com/W1aVNZldUr88/#html
25th Feb 2018, 7:33 AM
Hamid
Hamid - avatar
+ 1
wow you both did great
25th Feb 2018, 11:45 AM
xdeathbossx