Help me find the eroor

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>
  <label for="indoor"><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="personality"> Lazy</label>
  <label for="energetic"><input id="energetic" value="energetic" type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Hi @Issack_Ali !

I would reset the lesson.

You don’t need to create new inputs.
Use the inputs they already gave you.

Add the value attributes to the existing inputs.

Hope that helps!

I think you added to the original code that was given to you and also the main question is not answered. All you need to do now is RESET the whole code, in all your input tag write in your 1stlabel (value=“indoor”) after your ID, 2nd label (value=“outdoor”) after your ID, 3rd label (value=“loving”) after your ID, 4th label (value=“lazy”) after your ID, 5th label (value=“energetic”) after your ID.

Thanks for the help
I did it & it worked

Thanks for the help it worked

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