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.

Despite the colour change, the validator reports incorrectly.

See original GitHub issue

issue1 issue2

Challenge use-css-selectors-to-style-elements has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0. Please describe how to reproduce this issue, and include links to screenshots if possible.



<style>
  h2 {color: blue;}
</style>
<h2>Blue</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>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Jun 6, 2017

Reload the page, it will work fine.

0reactions
lynxlynxlynxcommented, Aug 5, 2017

Of course, there were older reports, so this one itself is a duplicate of at least #15090. Someone please close.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap Form Validation - color doesn't change
You should use "has-success", "has-warning" or "has-error" classes on the form input wrapper <div class="form-group has-success"> <label ...
Read more >
Exported glTF is sometimes invalid / doesn't pass glTF validation
The attached file has been exported from Nomad Sculpt directly. It uses blend shapes / layers. The file doesn't pass validation in glTF ......
Read more >
Deck Validation Fails. Any Deck I try. After I updating.
Note: ERROR SAYS BRAWL DECKS INVALID HAVE LESS THAN 60 CARDS - even if 60, 70 or 100 cards and even if a...
Read more >
Giving the User Unobtrusive Feedback During Data Entry with Qt
Giving the User Unobtrusive Feedback During Data Entry with Qt Credit: Alex Martelli Problem You want to validate the contents of a line-entry...
Read more >
How to Report Errors in Forms: 10 Design Guidelines
Help users recover from errors by clearly identifying the problems and allowing users to access and correct erroneous fields easily.
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