CSS Selectors


#1

Hello,
I’m slightly confused with part 9 " Keeping it Classy," this what the lesson says.
“Create any number of HTML elements you like and give them the class “fancy”. On the CSS tab, set .fancy to have a font-family of cursive and a color of #0000CD.”

I responded with this …

.fancy {
font-family: Cursive;
color: #0000CD;
}

Its asking if I created at least one HTML element with the class ‘fancy’? Was wondering if you could help and point out where I am going wrong? Greatly appreciated.


#2

Hi @megasurfer59795 :slight_smile:
So your cursive value shouldn’t have been capitalized because cursive isn’t an official font you get from the web or anything.
Therefore, font-family: cursive

I really hope this clears things up for you!


#3

Hello,
I tried lowercasing but still had the same issue, any other suggestions possibly?
Thanks

.fancy {
font-family: cursive;
color: #0000CD;
}


#4

I figured it out I apologize, I forgot to set the div/class on the html to fancy.
I got it to work, thanks for assistance.


#5

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