Stuck on exercise 23


/*Add your CSS below!*/
.fancy {
    font-family: cursive;
    color: violet;

#serious {
    font-family: Courier;
    color: #8C8C8C;
body: nth-child(4) {
    font-size: 26px;

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<!--Add your HTML below!-->
		<h3 class="fancy">How cool is this?</h3
		<p class="fancy">Let us see how this turns out.</p>
		<h3>How cool is this?</h3>
		    <p>Let us see how this turns out.</p>
		    <p id="serious">What's happening?</p>
		    <p>Third paragraph?</p>
		    <p>third paragraph?</p>

Cannot get past error message indicating unable to change font size to 26px for third paragraph. I even added extra paragraphs.


Remove the space between your : and nth-child so it looks like this:

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


your html code is confusing. in exercise 21, you added a h3 heading and a paragraph with class fancy:

<h3 class="fancy">How cool is this?</h3>
<p class="fancy">Let us see how this turns out.</p>

you did this, except your h3 closing tag is missing a > to mark the end of the tag.

then you add a paragraph with id serious in exercise 22:

<p id="serious">What's happening?</p>

and then you add a 3rd paragraph:

<p>Third paragraph?</p>

which means you have 4 elements total inside body, you have a bit more


I thought that I had tried this yesterday.
However you were correct. I did it today and all is fine with the world.
Thanks for your assistance, once again, I believe?

I think it is obvious at this point that coding of any kind is a foreign language for me.
I love what happens when there are no errors, but boy, those little errors chew my time!

Kudos to those who can code without the frustration!


I agree with you, that my coding is confusing.

I made some changes after missing the simple error that I had made. Those changes just made the whole exercise more complicated than it needed to be.
Thanks for your response to my request for help.

I have finally fixed things and been able to move on with the exercise.

Once again, my thanks for your assistance!


Yeah, it's always those little things that frustrates people and you are learning a new language so it is foreign (it was once foreign to me too). Imagine looking for those kinds of mistake in code that has more than 1000 lines :dizzy_face:.
Anyways, no problem! I'm happy to help :slight_smile: