0
How do I draw with the <canvas> element in html?
I can't draw a square
2 Antworten
+ 3
Check an example. A square is a rectangle with all sides of the same size, so choose your coordinates accordingly.
https://www.w3schools.com/jsref/canvas_rect.asp
+ 1
"Insert +" your code here please...