CodeAgeBy Sitezack
Canvas for MakersDraw and animate your game0 XP
Chapter progress0/6

Lesson 1 of 7

Optional

Quick recap

Canvas games rely on functions that compute and return a value.

JS functions mastered? Skip this lesson.

🎯 Your goal

Write double(n) → n * 2, then put double(5) into result.

PRO lesson

This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.

Discover PRO