CSS pseudo selectors

Hello, I’ve completed this exercise but I’m still getting an error. I was wondering if someone could help? Thanks!

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Link: https://www.codecademy.com/courses/web-beginner-en-WF0CF/4/5?curriculum_id=50579fb998b470000202dc8b#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I’ve completed the task but it thinks I have set it as “undefined”.
Error: "Oops, try again. Did you give your third paragraph a font-size of 26px? It looks like it’s currently undefined. "

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<h3 class="fancy">This is a header3 <h3>
		<p class="fancy">This is a paragraph! </p>
		<p id="serious">My! What a serious paragraph.</p>
	    <p>3rd paragraph</p>
.fancy {
font-family: cursive;
color: violet;
#serious {
font-family: Courier;
color: #8C8C8C;

body :nth-child(4) {
font-size: 26px;

your h3 closing tag is missing the forward slash, messing up the count

Thanks a lot.
Hadn’t realised it was such a small mistake.
Sorry for wasting your time

small mistakes are the hardest to find, no time wasted :wink:

1 Like