Beginner
Move inline styles into a class
Both warnings are styled with repeated style attributes. Remove the style attributes, give both paragraphs the class warning, and write one .warning rule in the CSS tab that makes them darkred and bold.
What Check tests
- No element has a
styleattribute - Two paragraphs have the class
warning - Warnings are dark red and bold
- The ordinary paragraph is unchanged
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.