...

/

Drawing Triangles

Drawing Triangles

First, make sure you have a canvas element defined in your HTML page, and give it an id of myCanvas. To help you out with this, here is what my HTML looks like:

Access this course and 1400+ top-rated courses and projects.