Charo has created the following CSS class selector to make some text 14 pixels large. Her HTML is correct, but the class is still not working. Why? #date { fontsize: 14 pixels; }

  • She is using the wrong character in her selector for a CSS class.
  • Her syntax for the 14 pixels value is incorrect.
  • Her syntax for fontsize is incorrect.
  • All of the above

EXPLANATION

Charo needs to fix three errors in her CSS class selector syntax before the style will work. She used the wrong type of CSS class selector; her syntax for the fontsize property is incorrect; and her syntax for the 14 pixels value is incorrect.

Corrected code example:
.date {
font-size: 14px;
}

Leave a comment