💻 Coding Lessons
Learn to code with JavaScript and p5.js. By the end, you'll build your own game!
Your Journey
5 lessons🎯 Goal: Build a complete game by Lesson 5
🎨
Lesson 1•30-45 min
Drawing with Code
Create shapes and colors on the screen
CoordinatesShapesColors
→
🏃
Lesson 2•30-45 min
Variables & Animation
Make things move across the screen
VariablesThe draw loopMotion
→
🏀
Lesson 3•45-60 min
Conditionals & Bounce
Teach your code to make decisions
if/elseComparisonsBouncing
→
🔄
Lesson 4•45-60 min
Loops & Patterns
Repeat actions to create amazing patterns
for loopsGridsRandomness
→
🎮
Lesson 5•60-90 min
Functions & Your First Game
Build a complete, playable game
FunctionsMouse inputCollisionScore
→
🛠️ What You'll Use
JavaScript
The programming language that powers the web. Used by millions of developers worldwide.
p5.js
A creative coding library that makes it easy to draw, animate, and create interactive art.