Code not passing,don't know why

Code not passing,don't know why
0

#1

Tell us what’s happening:

Your code so far


<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>
  
  <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>
  <form action="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
  <label>
    <input type="indoor" name="indoor-outdoor">Indoor
  </label>
  <label>
    <input type="outdoor" name="indoor-outdoor">Outdoor
  </label>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10323.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.209 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons/


#2

Take another look at the examples in the instructions. You are creating a radio button, so the type attribute of both input tags should be the same. Then, your options (indoor / outdoor) will go with a different attribute that you’re currently missing.

Hope that helps!


#3

Your radio buttons should have type=“radio” and id=“indoor”

Look at the errors at the bottom and read them carefully. They tell you exactly what is wrong.