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

CSS Selectors Forum

View Course » View Exercise

293 points
05db821830c7da164d3f1ce168e6152d?s=140&d=retro
Submitted by
wifizone
about 3 years ago

21/23 What's wrong here?

My Code
CSS:

.fancy:
{
    color:violet;
    font-family:cursive;
}

HTML:

<h3 class="fancy">The Main Idea</h3>
<p class="fancy">There is no main idea</p>

Error: Did you set .fancy to have a font-family of cursive?

Thank you


2 votes

permalink

Link to stylesheet present?

You have a colon after .fancy which shouldn't be there

2965 points
5ac0e923961bae76e60003bf_9638442
Submitted by
stetim94
about 3 years ago

1 Comment

05db821830c7da164d3f1ce168e6152d?s=140&d=retro wifizone about 3 years ago

Thank you)


1 vote

permalink

Just get rid of the colon on CSS. Easy :3.

373 points
A1c1cf691a71ab3f3fa2ae6688ef8e24?s=140&d=retro
Submitted by
megarex5223
about 3 years ago