Value Attribute Of Energetic

Tell us what’s happening:
I keep getting this error:
One of your checkboxes should have the
value attribute of energetic.

In my code below you can see I have the value attribute coded.

What am I missing???

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 for="indoor"> 
<input id="indoor" value="indoor" type="radio" name="indoor-outdoor">Indoor 
<label for="outdoor"> 
<input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">Outdoor 
  <label><input id="loving" value="loving" type="checkbox" name="personality"> Loving</label>
  <label><input id="lazy" value="lazy" type="checkbox" name="personality"> Lazy</label>
<label><input id="energetic" value="energetic" type="checkbox" name="personality">
  <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/79.0.3945.88 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

check the text in the label elements, you changed one of those instead you should left them as they are

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