23. I'm stuck as well


#1

I'm stuck as well.. this is my code:
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<!--Add your HTML below!-->
<h3 class="fancy">
<p class="fancy"> I'm so Fancy</p>
<p id="serious">You just have to be serious</p>
</h3>
<p>3rd paragraph</p>
</body>
</html>

CSS:
.fancy{
font-family:cursive;
color:violet;
}
'#serious{
font-family:Courier;
color:#8C8C8C;
}
body :nth-child(4){
font-size:26px;
}


#2

Hello, please what error message do you get?

Thank you!


#3

The above has two paragraph elements nested inside an H3 node. The ENDTAG should be on the same line as the OPENTAG

<h3 class="fancy">A fancy heading</h3>

Then your selector will work.


#4

This works. I had the same problem and I had to fiddle with it a bit but I managed to solve the error.

They shouold fix this.

<!DOCTYPE html>

    <html>
    	<head>
    		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
    		<title>Result</title>
    	</head>
    	<body>
    		<!--Add your HTML below!-->
    		<h3 class="fancy">h3 header
    		<p>jj</p>
    		<p class="fancy">dd</p>
    		<p id="serious">ff</p>
    		<p id="serious">sss</p>
    		</h3>
    	</body>
    </html>

and here's the css

    /*Add your CSS below!*/

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

    #serious {
        font-family:Courier;
        color: #8c8c8c;
    }

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

#5

You mean the provided code has the P-nodes nested in the H3?


#6

sometimes things slip through the cracks, he added a 4th paragraph (while the exercise only asks you to create 3)