Creating a established class

Tell us what’s happening:
I need to apply an established class to the est.2020 text. I thought I had it, but guess I dont…Please help.

    <h1>CAMPER CAFE</h1>

    <p>Est. 2020</p>

  </header>

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 62

Link to the challenge:

1 Like

Have you tried googling “applying a css class to an html element”. Seriously, professional developers are googling things all … day … long. No one can remember all this crap.

1 Like

Tried googling it, I get the same thing I tried…I need to apply the established class to the est. 2020 text.

Est. 202

is the challenge. Any ideas? I really thought I had it...

What have you tried? This isn’t a “give me the answer” forum. It’s a “help me learn by guiding me to the answer” forum. What is the code you have tried?

If I google that phrase, if I follow the first result, I’m taken to a page that shows how to apply a class to an html element. It’s actually a p element.

Get good at researching. You’re going to do a lot of it as a developer.

This is what I believed was correct.

    <p  class="established">Est. 2020</p>
1 Like

You have some unusually spacing there. When I fix that, it passes for me. There should only be a single space in there.

It may just be the the test is too sensitive, but I would also point out that formatting is EXTREMELY important when working on large code bases with a lot of devs. There is even software to complain about bad formatting as you type.

1 Like

I fixed the spacing and still nothing, can you send me yours, please? This is the longest i’ve struggled so far…
Thank you for your time and efforts, it is appreciated…

Ok. I got it, it was the spacing…Thank you

We learn more from the ones that make us struggle. Glad you figured it out.

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