+ 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đđđđ
3 Answers
0
A simple structure of the program
https://code.sololearn.com/WNn9D5q0W9ST/?ref=app
+ 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
+ 1
wow you both did great