<label><input type="checkbox" name="personality" value="energetic"> energetic</label><br>

Tell us what’s happening:
One of your checkboxes should have the value attribute of energetic . am stuck pls i need help

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><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 (Windows NT 6.2; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Hi @victor2,

It looks like you have everything correct, but I also get the one failing test when I run your code.

I’m wondering if you just ran into a picky test because I was able to get them to all pass by just capitalizing the ‘e’ in energetic and remove the leading space…kinda silly that the tests wouldn’t pass with your posted code.

All I did was change:

  <label><input type="checkbox" name="personality" value="energetic"> energetic</label><br>


  <label><input type="checkbox" name="personality" value="energetic">Energetic</label><br>

Hopefully that works for you also, but the good news is that you had everything correct, the test case was just being extra picky :slight_smile:

Good luck & happy coding!

it worked thanks. it was really extra picky

It was extra picky because it only wanted you to add an attribute value of energetic with a lower case ‘e’. It did not want you to change the label. Do/did you notice the difference? The label looks bad when it’s lowercase.
Yes in the real world you can have lower case labels if you want but the tests are ensuring that you only change what you’re asked to change.