Change the Color of Text alternative doesn't work either

Tell us what’s happening:

My code is correct I guess yet I cant finish this stage. It asks me to color h2 red and thats what I did

; CatPhotoApp

doesnt work either. **Your code so far**

<h2 style="color: red;">CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="#" alt="A cute orange cat lying on its back."></a>
  
  <div>
    <p>Things cats love:</p>
    <ul>
      <li>cat nip</li>
      <li>laser pointers</li>
      <li>lasagna</li>
    </ul>
    <p>Top 3 things cats hate:</p>
    <ol>
      <li>flea treatment</li>
      <li>thunder</li>
      <li>other cats</li>
    </ol>
  </div>
  
  <form action="/submit-cat-photo">
    <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
    <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
    <label><input type="checkbox" name="personality" checked> Loving</label>
    <label><input type="checkbox" name="personality"> Lazy</label>
    <label><input type="checkbox" name="personality"> Energetic</label><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36.

Link to the challenge:

I also tried “h2 class = “red-text;” CatPhotoApp /h2”

Try dropping the semi-colon after red - in your original post. That’s required but not being accepted possibly for some reason.

problem is this stage requires me to use a semi-collon after “red”

Your h2 element should be red.

Your style declaration should end with a ; .

Edit:
If i drop the ; it just removes the tick on the second requirement. the first one still stays X either way

Agreed, that is the proper syntax. I just revisited and tested that lesson and it works with the semi-colon.
You might need to reset the lesson.

I did that four times now and it still wont let me finish it.

thanks for your fast replies, btw.

Strange. Maybe clear the browser cache or someone that is a site admin may need to look into that. Glad to help.

I just now cleared my browser history, cache and cookies, but it still wont let me go on.

Since I am new here, could you explain me how to contact a site admin?

Thanks in advance!

What browser are you using? FCC recommends you use Chrome

as a matter of fact it is Google Chrome

Still being stuck…

Still cant continue no matter what browser

e: works on another pc but idk why

Hi, newbie here also.
I also had the same issue where it wouldn’t complete a challenge.
Check that you haven’t got any rogue spaces anywhere. The challenge for changing the text to STRONG had me stuck for 3 days. It was only when I re-wrote the whole code that I had noticed I had an extra space hiding inside the code.

Hope this is some help to you

Dan_Young

1 Like