This forum is now read-only. Please use our new forums! Go to forums
Keep getting error message that font size for 3rd paragraph is undefined
.fancy {font-family: cursive; color: violet;} #serious {font-family: Courier; color: #8c8c8c;} p:nth-child(4) {font-size: 26px;}
Answer 521a067d548c3592350025e2
I keep getting this error as well. Even though it is working fine. I can see due to the preview. So frustrating I cannot finish this course cause of this bug.
Answer 521a10ab548c35b08d0027e4
Can you print your HTML sheet also so i can take a look at that. It looks ok from a CSS point of view but i need to check the HTML page to make sure it’s linked correctly.
Answer 521ba697abf8219f9f000984
Here is the accompanying html sheet: No doubt that I am doing something wrong, just not spotting it.
Answer 521c7091abf82162b1000de3
http://gyazo.com/ea217a9653963ac475b4a6efb0ac986e.png http://gyazo.com/6a0503fcc59c64451af8447b94704326.png
Just make sure you view the whole image as you can see the HTML and CSS are correct in what the instruction were.
3 comments
You need to change the nth child to (4). That should work for you mate.
Thanks for the help. I did make those changes but no joy. However, when I moved the
above the
, it worked fine. My guess is a glitch in the code checker.
{ color:#00E5EE; } Div{
color: #CC0000; border:2px;
} Full Screen Save & Submit Code Reset Code Way to go! Start Next Lesson Share with Friends Oops, try again! Did you remember to set the color of the paragraphs inside divs to #CC0000
please help me i got this screen
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Ok, so from looking at your HTML document. I can see that it should all be working correctly, apart from 1 alteration i would make. The p tag with the class of fancy doesnt seem to be closed properly. You need to make sure you close a P tag out correctly with
it looks as though your missing out the >.Could this be the problem?