×
×
Correct!
Use hue, saturation and lightness to set a background color of the <h1> element. Set the hue to red, saturation to 100%, and lightness to 50%.
<style>
h1 {
background-color: @(17);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: hsl(0, 100%, 50%);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: hsl(0,100%,50%);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
h1 {
background-color: hsl(360,100%,50%);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?