Pseudo Selectors Glitch


#1

There is a glitch in this part of HTML and CSS: CSS Selectors. It says you have have to put 3 paragraphs but you actually need to put 4. I hope this resolves this for you :grinning:


#2

I just tested with the following code and passed:

    <body>
        <!--Add your HTML below!-->
        <h3 class="fancy">Create an h3 header and a paragraph</h3>
        <p class="fancy">You've also learned how to use class selectors to modify different elements (that is, you can give the same styling to an h3 header, a paragraph, a link, and a table).</p>
        <p id="serious">You've also learned about ID selectors, and how they can be used to target a specific element.</p>
        <p>Home stretch! Let's toss in some pseudo-class selector magic to finish this bad boy.</p>
    </body>

and,

/*Add your CSS below!*/
.fancy {
    font-family: cursive;
    color: violet;
}
#serious {
    font-family: Courier;
    color: #8C8C8C;
}
:nth-child(4) {
    font-size: 26px;
}

Without seeing your exact code, I cannot reproduce the error. If you wish to discuss issues in an exercise, please furnish a link to the exercise, and post your code so we don't have to do a run-around to give you a valid answer. Thank you.


#3

Can i see your code? 3 paragraphs should be enough, unless (but that is a guess) you nested your paragraphs inside your heading (h3)