Not sure whats wrong

Tell us what’s happening:

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">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
    <label for="indoor">
      <input id="indoor" type="radio" name="indoor-outdoor">indoor
    <lable for="outdoor">
        <input id="outdoor" type="radio" name="indoor-outdoor">outdoor

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

Why do you have two form elements? Use the existing form element the challenge started with and put the radio buttons and applicable labels inside it. It may be easier for you to just click the Rest All Code button to start fresh on this challenge.

Also, make sure you are spelling your label elements correctly. You have typos on them currently.

Oh! okay. I didn’t see that typo.
This was like my 40th time trying different ways to make the code work. so that is why there are two forms.
Thank you! it worked.

1 Like