Module 5 · In your browser · challenge 1 of 2 in this lesson
sameLookPx uses each screen's heightCm / rows / distanceCm
A code cell with the real Luau runner grades it. No Studio needed.
Open
Level 1, Apprentice
Challenge
Fix sameLookPx in the sofa-check cell so all three tests pass.
- Start from
- The game at milestone m14 (download)
- Check it here
- Run the code cell; the challenge completes when it passes. No Studio needed.
Done means
- sameLookPx uses each screen's heightCm / rows / distanceCm
- 24 px on the laptop gives 34 px on the TV, and 18 gives 25
- All three assertions in sofa-check pass