Complete the code to set the background color to red using a color name.
body {
background-color: [1];
}The color name red is a valid CSS color keyword that sets the background color to red.
Complete the code to set the text color to blue using a CSS color name.
p {
color: [1];
}The color name blue sets the text color to a standard blue in CSS.
Fix the error in the code to correctly set the border color to green using a color name.
div {
border: 2px solid [1];
}The correct CSS color name for green is green. The option 'gren' is a typo and invalid.
Fill both blanks to set the background color to yellow and the text color to black using color names.
section {
background-color: [1];
color: [2];
}The background color is set to yellow and the text color to black using CSS color names.
Fill all three blanks to set the header background to lightblue, text color to darkred, and border color to gray using color names.
header {
background-color: [1];
color: [2];
border: 1px solid [3];
}The header background uses lightblue, text color is darkred, and border color is gray using CSS color names.