This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS Selectors Forum

View Course

172 points
4b4af9cf43921855c62cdcbe108efdef?s=140&d=retro
Submitted by
Antaios
about 2 years ago

First Child 16/23

Here, I am supposed to change the font of the first out of a long list of tags nested in a tag, using first-child in CSS. So, on CSS, I code:

p:first-child {
font-family: Cursive;
}

And I hit a brick wall. Though it changes the first paragraph on the visual screen, the pop-up still tells me I haven't done it right. So, I try several different ways, all of which changed the visual the way it asked, but still I can't progress. Any help would be great.