Help so i can pass this stage

Truly i don’t know how to pass this stage please help me, i don’t know what am doing wrong have been on this since last night. actually am new into this so please i will appreciate it if in a simple explanation so i can understand
thanks you :slightly_smiling_face:

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

welcome @ijay

first you have take a look at the sample

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

thus you dont have to create new code, just edit each line of code that have to set the value attribute.

  • One of your radio buttons should have the value attribute of indoor .

  • One of your radio buttons should have the value attribute of outdoor .

  • One of your checkboxes should have the value attribute of loving .

  • One of your checkboxes should have the value attribute of lazy .

  • One of your checkboxes should have the value attribute of energetic .

It’s probably worth to notice that name&value are relevant solely for someone analyzing the data after it is sent to the server.

Sometimes what confuses is that you see a lot of repetition of words, but those 2 attributes are really related to a post processing.

hello

each of your radio buttons should have the values of : Indoor, outdoor, Loving, Lazy and Energetic.