Help on step 59

So I was going through the steps on this challenge for the CSS portion and I got a bit confused on step 59, the step says to select all td elements with a class of current so, I put td.current as a selector, however when I checked the code it said that my code was incorrect and that I should use td.current as a selector instead. Can someone please help me with this?

td.current {
  font-style: italic;
}

The selector only needs to be the class name,

.current {
font-style: italic;
}

should work fine :slight_smile:

1 Like

Thanks, I tried this but it won’t work, the hint is saying to use td.current as a selector.

Ooh ok, this is step 59? of what course?

responsive web design: Learn more about CSS pseudo selectors by building a balance sheet

thats odd, because your exact code should work

td.current {
  font-style: italic;
}

could you send a screenshot of what they are saying is incorrect exactly? :slight_smile:

1 Like

here you go
image

is something above that rule not closed?

2 Likes

yes, im an idiot, thank you, sorry

1 Like

not at all! simple mistake :slight_smile:
glad to help

1 Like

thank you, I had the same mistake :slight_smile:

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