<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>

Tell us what’s happening:
i need help

Your code so far

<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>
  <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="/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>

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 there.

Please edit your title to be more descriptive, also, if you have a question edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.


Hey @siyafaobvious,

Next time you need help in the forums, please give your topic a meaningful title and some description of what you have having trouble with.

Anyways, the challenge asks you to give the <inputs> an attribute of value with each specific values. Remember, when adding an attribute into an HTML element, always have the value inside a quote " ". EX:

<textarea placeholder="Hello There"></textarea>
<!-- This textarea have an attribute of placeholder with a value of Hello THere -->
1 Like

woow thanks srry for not giving u topic.