Can anyone tell me why isnt it working!

Tell us what’s happening:
Describe your issue in detail here.

  **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="">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label for="loving"><input id="loving" type="checkbox" name="personality"> Loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality"> Lazy</label>
  <label for="energetic"><input id="energetic" type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

    <input id="indoor"value="indoor"type="radio"name="indoor-outdoor">Indoor</label>

    <label for="outdoor"><input id="outdoor"value="outdoor"type="radio"name="indoor-outdoor">Outdoor</label>

    <label for="loving"><input id="loving"value="loving"type="checkbox"name="loving">Loving</label>

    <label for="lazy"><input id="lazy"value="lazy"type="checkbox"name="lazy">Lazy</label>

    <inupt id="energetic"value="energetic"type="checkbox"name="energetic">Energetic</label>

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

You have spelling error at the top. instead of ‘lable’ write ‘label’

Also remove this part of the form because it is repeated and makes things very compliacted

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.