am really stock here..

Tell us what’s happening:
Describe your issue in detail here.

  **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 for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label for="loving"><input id="loving" type="checkbox" name="personality"> Loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality"> Lazy</label>
  <label for="energetic"><input id="energetic" 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>
     <form action="/submit-sandwich">

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

                  <label><input type="checkbox" name="fillings" value="chicken"> Chicken</label>
                  <label><input type="checkbox" name="fillings" value="tuna"> Tuna</label>
                  <label><input type="checkbox" name="fillings" value="mayo"> Mayo</label><br>

  **Your browser information:**

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

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

That is an input-tag with the attributes: id, type, name.
Now add a value-attribute, as specified in the task.

Hello, @coutti !
You must give a value to your indoor-outdoor buttons.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.