Create a Set of Radio Buttons Bug

Tell us what’s happening:

Just reporting a bug in the system. I’m sure my code is fine

Your code so far

  <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>
  <p>Things cats love:</p>
    <li>cat nip</li>
    <li>laser pointers</li>
  <p>Top 3 things cats hate:</p>
    <li>flea treatment</li>
    <li>other cats</li>
  <form action="/submit-cat-photo">
    <label for="indoor">
      <input id="indoor" type:"radio" name="indoor-outdoor"> Indoor
    <label for="outdoor">
      <input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor

    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

It’s not a bug, your code has a typo.

1 Like

Expanding on @zapcannon99’s response: How do you correctly assign a value to an element attribute?

There’s a typo at your first button
not type: “radio”

You are right guys!
Thanks for the help.
I ran the test, and it worked flawlessly!