Radio and Checkbox Values

Can someone tell me if I am missing something? I’ve tried tweaking this and I can’t seem to get it yet.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<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>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="/submit-cat-photo">
  <label for="indoor"><input type="radio" name="indoor-outdoor" value="indoor"> indoor</label>
  <label for="outdoor"><input type="radio" name="indoor-outdoor" value="outdoor"> outdoor</label><br>
  <label for="loving"><input type="checkbox" name="personality" value="loving"> loving</label>
  <label for="lazy"><input type="checkbox" name="personality" value="lazy"> lazy</label>
  <label for="energetic"><input type="checkbox" name="personality" value="energetic"> energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

It says my errors are:

One of your radio buttons should have the value attribute of indoor .

One of your radio buttons should have the value attribute of outdoor .

One of your checkboxes should have the value attribute of loving .

One of your checkboxes should have the value attribute of lazy .

One of your checkboxes should have the value attribute of energetic .

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes

The for attribute should correspond to the name attribute.

<label for="indoor-outdoor"><input type="radio" name="indoor-outdoor" value="indoor">

the challenge asks you to add only value attribute, not for attribute

(note that when you use a for attribute on the label you need a matching id on the input element)