Complete the code to set the background color to blue.
body {
background-color: [1];
}The background-color property sets the background color of the page. Here, we want it to be blue.
Complete the code to make the text color red.
p {
color: [1];
}The color property changes the text color. We want the text to be red.
Fix the error in the CSS to make the text bold.
h1 {
font-weight: [1];
}The font-weight property controls how thick the text looks. bold makes the text thick and strong.
Fill both blanks to set the text color to green and background to yellow.
div {
color: [1];
background-color: [2];
}The color property sets the text color, and background-color sets the background. Here, text is green and background is yellow.
Fill all three blanks to set font size to 2rem, text color to black, and background to white.
section {
font-size: [1];
color: [2];
background-color: [3];
}font-size sets the size of the text. 2rem means twice the root font size. color sets text color to black, and background-color sets background to white.