Unit Project: Decisions and Loops Lab
Apply conditionals and loops to a score analyzer with explicit boundaries, invalid-input handling, and traceable iteration.
Project brief
Conditionals choose a path from current data. Loops repeat a defined step until iteration ends or an explicit condition changes. Guard clauses keep invalid and exceptional paths close to the top of a function.
Where this fits
This lesson builds one part of the path from language fundamentals to complete browser applications.
What you will build
Build a score analyzer that validates a collection, classifies each score, counts grades, and explains every boundary.
You will first study the underlying rule, then trace worked code, repair a mistake, and create an independent solution.