Hi all, I'm stuck on 23.psuedo selectors please help!


#1


https://www.codecademy.com/en/courses/web-beginner-en-WF0CF/4/5?curriculum_id=50579fb998b470000202dc8b#


I don't see what is wrong. Getting this error
Oops, try again.
Did you give your third paragraph a font-size of 26px? It looks like it's currently 16px.


Replace this line with your 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">Buffalo Code</h3>
        <p class="fancy">This is great!</p>
        <p id="serious">Doing fine, doing great!</p>
        <p>Doing great, doing fine, how are you?</p>
    </body>
</html>
.fancy {
    font-family: cursive;
    color: violet;
}
#serious {
    font-family: Courier;
    color: #8c8c8c;
}
body: nth-child(4) {
    font-size: 26px;
}


#2

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

you can't just use body you need to replace it with p tag but i am not sure bot give it a try

Or/and just remove the
body: <-----colon remove it


#3

Sorry bitmaster25924

You only need to move the colon just before nth child not after body


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.