Loading lesson…
Level 1 · Apprentice0 XP
A screen is built from small functions that return what to show.
Step 1 / 5
ProblemA whole page is written as one block of HTML with scripts that find elements and change them. To change the price in one place you must hunt through the file for every spot that shows it.
← → step
Before this: Platform engineering and golden paths
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Take any page you know and draw boxes around its parts. Then build three components for it: one that takes two props, one that renders the first inside it, and one that receives a function prop and calls it on click.