Bug in HTML course

I’m at the stage in the html course where i’m required to add value attributes to “radio” and “checkbox” labels. I have added the value attributes but can’t run the code. I think there’s a bug cos i’ve checked my work severally.
Can I get help somehow?

Your code so far

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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" value ="Indoor" name="indoor-outdoor"> Indoor </label>
  <label for="Outdoor"><input id="Outdoor" type="radio" value = "Outdoor" name="indoor-outdoor"> Outdoor</label><br>
  <label for="Loving"><input id="Loving" type="checkbox" value ="Loving" name="personality"> Loving</label>
  <label for="Lazy"><input id="Lazy" type="checkbox" value = "Lazy" name="personality"> Lazy</label>
  <label for="Energetic"><input id="Energetic" type="checkbox" value = "Energetic" 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Lower case vs upper case matters.

Thanks Jeremy. It works now.

1 Like