Can you help me pass

Tell us what’s happening:

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="https://freecatphotoapp.com/submit-cat-photo">
   <label><input type="radio" name="indoor-outdoor"> Indoor</label>
   <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
   <label><input type="checkbox" name="personality"> 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>
 <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>
<form action="/submit-sandwich">

 <label><input type="radio" name="indoor" value="wheat"> Wheat</label>
 <label><input type="radio" name="bread" value="ciabatta"> Ciabatta</label><br>

 <label><input type="checkbox" name="personality" value="loving"> Chicken</label>
 <label><input type="checkbox" name="fillings" value="lazy"> lazy</label>
 <label><input type="checkbox" name="fillings" value="Energetic"> Mayo</label><br>

 <textarea placeholder="Allergies, and extra information"></textarea><br>

 <button type="submit">Order Sandwich</button>
</form>
 </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 12239.92.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.136 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Hi,
your radio buttons should have the same name attribute value in order to create a radio button group, like name="indoor-outdoor"
Your checkboxes also should have a common name attribute value.

In your value attribute, the word energetic should be all in lowercase, and you have:

<input type="checkbox" name="fillings" value="Energetic">

Also the label text for all of the three checkbox should be:
Loving
Lazy
Energetic

Example:

<label>
<input type="checkbox" name="personality" value="lazy"> Lazy
</label>
1 Like