Create a canvas 300 x 300 pixels. Draw borderless shapes on it like this:
- Rectangle: top left (20, 20), width 100, height 80, colour #ffcc00 (orange)
- Circle: centre (150, 150), radius 80, colour #009900 (dark green)
- Hexagon: vertices (140, 100), (170, 40), (240, 40), (270, 100), (240, 160), (170, 160), colour #cccccc (light grey)
- Triangle: vertices (180, 150), (240, 220), (200, 260), colour #3399ff (light blue)
Hint: you will need context.closePath (); to make a solid shape after using a list of vertices