Loading lesson…
Level 1 · Apprentice0 XP
The few building blocks of every screen, and how flexbox places them.
Step 1 / 5
ProblemYou paste a div and a span into a React Native file. It crashes. There is no HTML on a phone. There are native views, and React Native gives you components that become those views.
← → step
Before this: Testing components
🛠️ 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.Build a profile header: a round avatar on the left, name and email stacked next to it, and a button pushed to the right edge. Use only View, Text, Image and Pressable, and no fixed widths except the avatar.