About HAP's Learning Lab
🔬 What I Learned
JavaScript doesn't run every line of code — it makes choices. With control flow, I can make my Robot ID Card respond differently based on energy levels, status, and more.
Prof. Teeters showed me that variables store data, but control flow brings that data to life.
🎯 How I Practiced
I extended my Robot ID Card with new variables like nickname, isOnline, and coreTemperature. Each one taught me something different about control flow.
The interactive demos at each station helped me see exactly how JavaScript evaluates conditions.
🎨 My Philosophy
I believe the best way to learn is by making mistakes and understanding why they happened. That's why I share my confessions at each station.
Every bug I encountered taught me something important about how JavaScript really works.
🤔 My Advice
Don't skip the demos! When I tried the Falsy Detector, I finally understood why my if statements weren't working the way I expected.
Take your time with each station — control flow concepts build on each other.
Learning Stations
Interactive Demos
Each station has a companion demo where you can experiment without writing code: