Apia saysThe Canvas 2D API draws shapes, text, and images pixel-by-pixel via a context.
Get a context with canvas.getContext("2d"), then issue drawing commands: fillRect, beginPath+arc+fill, fillText, drawImage. Everything becomes flat pixels (no DOM nodes), so canvas is fast for games, charts, and effects. Combine with requestAnimationFrame for animation.
Power-ups you unlock
getContext("2d") returns the drawing API
fillRect, arc, fillText, drawImage
Pixels, not elements — fast for games/charts
Pair with requestAnimationFrame to animate
Legacy Larry attacks — common mistakes
Sizing the canvas with CSS only (blurry)
Expecting to click individual shapes
Forgetting to clear before each animation frame
Boss battleDraw a filled circle and a rectangle on a canvas.