Basic HTML and HTML5: Use the value attribute with Radio Buttons and Checkboxes (2)

CAN someone PLEASE me with this

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 id="indoor" value="indoor" type="radio" name="indoor-outdoor"> Indoor </label>

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

<label>
<input type="checkbox" value="Loving"> Loving</label>

<label><input type="checkbox" name="personality"> Lazy</label>

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

<input type="text" placeholder="cat photo URL" required>
   <button type="submit">Submit</button>

 

</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Hello~!

This is the correct syntax - but the tests are case-sensitive, and they look for loving, not Loving. Correct this, and then use this syntax with your other two checkbox elements and you should be good to go.

Also, don’t delete the name attribute. :slight_smile:

i still dont get it
i only got the two on “value” attribute of “indoor”

This code is correct (I fixed the letter-case error) for the challenge. You need to do the same thing to your other two checkboxes:

it worked thank you very much