Im having a problem on lesson 11/23


#1

It keeps saying Oops, try again. Did you create at least one HTML element with the class 'fancy'? I'm pretty sure its done right.

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


#2

Try using the lowercase written fancy as the Oops-message is indicating.


RIght Code but Page won't let me continue
Stuck 26/26
#3

Can we see your html code? The error indicate you didn't create a html element with class fancy. Here is a image on how to make your code visible on the forum:


25 Size and Borders, Code does not work
Since 11/13 I lost Run function
23. Pseudo Selectors
4. Listing everybody
12 Stocking out
Why doesn't this code work if x = 9?
In while loop syntax it is not working correctly i am not get third stage of while loop
Adding images to your website
Oops, try again. Did you remember to change the first <li> to the font Arial?
Hi all (TRY TO UNLOCK my 4 digits code)
23.Pseudo selectors. whats wrong?
Something of Value (10 - 9) Confused with output
8. Part of the Whole
Did you change the value of title to your own String?
Empty p tags
CSS Borders
Adding <em> and font-size and font-family
Image and Links Help Please
10/11
1/14 Create New Variable
6. Just Weight and See
"Your second <li's> font is 16px instead of 12px"
Stuck- id's
23 Many selectors, many properties
#4

You're missing a semi-colon at the end of your font color.

color: #0000CD <- Semi colon here

Hope I helped.


#5

Doesn't matter, last property + value of a css selector doesn't necessarily needs a semi-colon, plus the missing semi-colon shouldn't create the error it did if it was the missing semi-colon


#6

Even if it didn't create the error it's still good practice to end all CSS properties and values with a semi-colon, but if i remember correctly it can affect the styling of the page if you miss a semi-colon somewhere in the CSS.


#7

I couldn't agree more, but i wouldn't conclude from initial answer. But you are right, it would be good practice to put the semi-colon there.


#8

Yes, @addsy32 should post their html code, as it seems as if the problem would be coming from the class "fancy".


#9

Yes, he should post his html code, the error indicates there is something wrong with his html code, what do you think of the image i "made" on how to post code?


#10

That picture was brilliantly well done @stetim94! I wish I had had that picture when I learned CSS and HTML.


#11
<!--Add your HTML elements with the class "fancy" below!-->
<div class="fancy"></div>
<img class="fancy"/>
<td class="fancy"></td>

This is my HTML element, basically just a copy of the example, I set all the classes to fancy. This may be why you're not getting past. I had the problem as well, then remembered I hadn't edited the HTML index yet.


#12

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

Your font-family shouldn't "Fansy;" As per exercise it should be " cursive ".


#14