Blue and red

Report a typo

Make all headings except the second one red using specificity. Write a new rule with a selector pointing to headings. Try to place it before and after the existing rule with the #second selector, compare the results.

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<body>
<h3>The first heading.</h3>
<h3 id="second">The second heading.</h3>
<h3>The third heading.</h3>
</body>
</html>





Completed 2 of 3
Other two headings are red.
The code is valid.
___

Create a free account to access the full topic