question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[beta] correct code not accepted

See original GitHub issue

Challenge Name

http://beta.freecodecamp.com/en/challenges/basic-css/change-the-color-of-text

Issue Description

When using inline style to change the h2 element to the color red, my output says “try again” and that I need to change the h2 color to red. I have tried both inline style and using style tags.

UPDATE: this also occurred a few challenges later, when directed to change h2 elements to ‘blue’ using CSS. Could possibly be an issue with the rest of the ‘Basic CSS’ section.

Browser Information

  • Browser Name, Version: Firefox version 51.0
  • Operating System: Windows 10
  • Mobile, Desktop, or Tablet: Desktop

Your Code

<style>
  h2 {
    color: red;
  }
</style>
<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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>




Screenshot

screenshot 30 screenshot 31

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
elrolfecommented, Feb 17, 2017

I’ve run into this same problem on some of the tests. What I’ve seen is that if incorrect code is submitted first, and then corrected, the correct code doesn’t pass the tests. When the page is reloaded, the FCC site pulls in the last submitted code (the corrected code), and the tests pass without code modification.

1reaction
BhaveshSGuptacommented, Mar 2, 2017

Hi @flowerboy777 Thank you for reporting this issue.

This is an issue with CSS tests in Firefox. The main issue is #10749 This is a big issue that affects a lot of people. For now, you’ll have to switch to Chrome for any challenges with CSS tests in the beta.

Happy coding!

Read more comments on GitHub >

github_iconTop Results From Across the Web

HOW TO FIX MULTIVERSUS OPEN BETA CODE NOT ...
how to download multiversus xbox,how to get early access multiversus,multiversus how to get early access,warner bros multiversus,warner bros ...
Read more >
MultiVersus beta code not working for PS4 & PS5 players
PS4 and PS5 players are reporting that MultiVersus beta code is not working on their consoles, but there is a potential workaround.
Read more >
Beta code not working. - The Crew 2 - GameFAQs
I'm entering the code but it gives me an error message. “The code you entered may not be correct or may no longer...
Read more >
Beta Code Not Working [Stardew Valley] - Steam Community
The multiplayer update is out, there's no need for the beta or codes anymore. Multiplayer should be working fine, verify cache if it...
Read more >
How to Fix MultiVersus Open Beta Code Not Working
How to fix MultiVersus open beta code not working · Open Steam and log in to your account. · Click on “Games” on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found