Learn HTML by Building a Registration Form - Step 10

Hii, I’m stuck here, so I need some help.
My code looks like this:

body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
text-color: #f5f6f7;

The hint says the color property should be within the body element selector. I’m sure it’s there, but the code still does not pass. What could I be doing wrong?

Read the instructions again very closely. Even though it seems like it should be, it’s not called text-color.

1 Like

It was such a dumb mistake, thank you so much

I’ve always thought that using just color to represent the text color is kind of weird. We use the text- and font- prefixes for almost all other properties related to text. Seems like not using one of those for color was an oversight. But it is what it is.

Anyhoo, don’t beat yourself up too much for a defect in the specs. A lot of people make this mistake.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.