Question: Test the code2-4.css file in the CSS validator at the W3C website or with another validator of your choice. Make a note of the errors
Test the code2-4.css file in the CSS validator at the W3C website or with another validator of your choice. Make a note of the errors reported as a guide to debugging the page. There are six syntax errors in the CSS file. Fix all six errors you discover and then submit your work.
div {
background-color: rgb(255,171,171);
padding: 10px;
font-size: 1.2em;
}
aside {
background-color: rgb(209,227,107);
padding: 0 20px;
}
aside h1 {
font-size: 1.9em;
font-family: Segoe, Verdana, sans-serif;
line-height: 0.8em;
margin: 20px 0 0 0;
}
aside h2 {
margin-top: 5px;
font-family: Segoe, Verdana, sans-serif;
font-size: 1.2em;
}
aside p {
font-size: 1.1em;
text-indent: 1em;
}
aside p: first-of-type {
text-indent: 0em;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
