Can you help me pass

Tell us what’s happening:

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="">
   <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 for="outdoor"> 
 <input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">Outdoor 
<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>

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:

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:


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