Menu
×
×
Correct!
Exercise:Set the background-color to red, of any <p> element that are the first child of any element.
<style>
@(13) {
background-color: red;
}
</style>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
<style>
p:first-child {
background-color: red;
}
</style>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?