Complete the code to add a solid border to the box.
div {
border-style: [1];
}The border-style property sets the style of the border. Using solid creates a solid line around the element.
Complete the code to set the border width to 3 pixels.
div {
border-width: [1];
}The border-width property sets the thickness of the border. Using 3px sets it to 3 pixels.
Fix the error in the code to correctly set the border color to red.
div {
border-color: [1];
}The correct way to specify red color in hex is #ff0000. The option 'redd' is a typo and invalid.
Fill both blanks to create a dashed blue border with 4 pixels thickness.
div {
border-style: [1];
border-color: [2];
border-width: 4px;
}Setting border-style to dashed creates a dashed line. Setting border-color to blue colors the border blue.
Fill all three blanks to create a thick, dotted, green border.
div {
border-width: [1];
border-style: [2];
border-color: [3];
}Use thick for a thick border width, dotted for the style, and green for the color.