Beginner
One component, used three times
Write a component named Tip that returns a <div className="tip"> containing an <h2> with the text Tip and a <p> with the text Practise a little every day.
Render <Tip /> three times inside App.
What Check tests
- There is a component named
Tip - The page shows exactly three
.tipboxes - Each box has an
<h2>sayingTip - Each box has the paragraph
Practise a little every day.
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
Runs in your browser. Your code is saved here.
Your page
Press Run to see the page.
Console
Nothing logged yet.