Canvas
1. Basic Shapes
Copy code, save in folder and refresh in browser.
Basic Shapes
Your browser does not support the HTML5 canvas tag
Add Text labels
Basic Shapes
Your browser does not support the HTML5 canvas tag.
Activity
Label the other shapes.
Structured Canvas
Polygons.
Copy code to editor, save in folder and refresh in browser.
Note the more structured code layout.
Polygons Buttons
Polygons
Click on the buttons below to draw a polygon.