I am lost again

Tell us what’s happening:

I am not sure what I am doing wrong I have been working on this for hours now, can you help me?

Thank you!

  **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 ID="indoor" value="indoor" type="radio"
name="indoor-outdoor"> Indoor</label>
<label><input id="outdoor" value="outdoor" type="radio"
name="indoor-outdoor"> Outdoor</label><br>
<label><input type="checkbox" name="personality"
value="loving"> Loving</label>
<label><input type="checkbox" name="personality"
<label><input type="checkbox" value="energetic"
name="personality"> Energetic</label><br>
<input type="text" placeholder="cat phot 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/89.0.4389.90 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Use jsfiddle.net and paste in your code. If you are lucky you will find some error. https://jsfiddle.net/pwuhdv52/

@Mbarlow, when I paste you code it passes the tests.

What does the failing test message say?

Maybe all you need to do is reset the lesson and type in again.

Almost there, reset the lesson and ensure that each of the radio and checkbox have the required id’s and values.

Thank you everyone. I reset and had it all along…Hooray! I am done 100% with this lesson…you guys are the best…Thank you!


1 Like

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