I’m just trying to finish this assignment using basic CSS. I put it through W3C CSS Validator and it says a different error code about font-family but I’m not using that. Im confused because I set the size to 12 px and npm test is still reading the error below
My code is:
#tasks .completed { font-size: 12px; }
ERROR MESSAGE:
css/style.css
corrects the ‘.completed’ font-size declaration:
AssertionError: Incorrect font-size property for .completed: expected undefined to equal ‘12px’
I’m just trying to finish this assignment using basic CSS. I put it through W3C CSS Validator and it says a different error code about font-family but I’m not using that. Im confused because I set the size to 12 px and npm test is still reading the error below
I expected the code to change when I tried font-size: 12 px; and for there to be no error after. Ran through a validator, which said
.completed Value Error: font-family 12px is not a font family value: 12 px.
I think this is a bug because no where in my code do I mention font family. I mentioned font-size in #tasks .completed
Audz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.