Basic HTML and HTML5: Use the value attribute with Radio Buttons and Checkboxes help

Hey guys,

Its my first week coding so go easy on me. This one doesnt seem to registering when I add the value attribute, can you take a look at my code and tell me if its wrong

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><input type="radio" name="indoor-outdoor"> Value="indoor">Indoor</label>
  <label><input type="radio" name="indoor-outdoor">Value="Outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality"> Value="Loving">Loving</label>
  <label><input type="checkbox" name="personality"> Value="lazy">Lazy</label>
  <label><input type="checkbox" name="personality"> Value="Energetic">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 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Remove the ‘>’ tag after name=“personality”>

1 Like

Thank you! I knew it would be something so simple! Thank you and lots of love :orange_heart:

1 Like