Having issue with this one famz

Been sitting on this for awhile now, I don’t quite sure what I am doing wrong here.

Is there something I’m missing here famz or?

p { font-size: 20px; } /* Only change code below this line */ @media (max-height: 800px) { font-size: 20px; p { font-size: 10px; } } /* Only change code above this line */

There are 3 steps, 1 and 3 is done but 2? Hmmm

Can you share the link to the challenge? Thanks.

Have Updated Post Famz. Is That The Link??

Yes. I’ll take a look at the challenge right now.

1 Like

Thanks Famz. I’ve Tried Many Solutions, Still Nothing.

Then Again, It May Be Browser. I Am Using An App Type Version Of FreeCodeCamp Using The Microsoft Edge App Extension.

it’s the css rule in the @media, you only need one.x

Tried Without It Aswell Famz. For Example:

@media (max-height: 800px) {
font-size: 20px;
font-size: 10px;
}

lose the 20 and add a p { }

<style>
  p {
    font-size: 20px;
  }

  /* Only change code below this line */
  @media (max-height: 800px) {
    font-size: 10px;
  }
  /* Only change code above this line */
</style>

Like This??

Let’s look at line 3, line 8, and line 10.

On line 3, you said that on normal occasions (i.e, viewport height > 800px), font size of <p> should be 20px.

Starting from line 7 to line 12 is for viewport height less than 800px.

But then on line 8, you said, font-size: 20px; which overwrites the font-size: 10px; on line 10.

(Not to mention, using CSS rules without specifying the element to style is not accepted, I think.)

Yeah, like that. Congrats on getting it right!

Yeah, Still No Luck Famz. If The Above Coding Is Right, Its Not Passing Through.

Please re-read the last sentence of the ninth reply.
(The error slipped my eyes :sweat_smile:)

Is the challenge going well?

1 Like

It’s Going Goood Famz, Just Been Stuck On This Bit For Awhile.

Will Do These After Dinner Famz. Really Do Appreciate Yous All For Helping Out.

Yesss! Finally Did It Famz Hahahahaha WTF Mannn.

Was Reading The Last Sentence Over & Over. Element? Element?

Then Ding Caught It Lols. Element Was Bugging Me Till I Realize.

Glad to know!
That ‘aha’ feeling is really nice hm?

Please when you need help use the help button to create a post

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Get Help > Ask for Help button located on the challenge.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.