Problem with checkbox

Trust me it doesn’t let me on Safari iPhone. Its a word by word copy thing.

I tried to reset million times and it does not delete the wrong commands apparently what to do? And im really lost for the first time with this thing here

I have an iPhone as well (tragically).

You can click Ask for Help and copy your code out of the per-generated post.

It really is hard for us to know what things you changed without seeing all of your code.

Side note - if at all possible, I would do programming on anything that isn’t a phone. If you have even the cheapest, most basic laptop, that will be far easier to use.

If you successfully reset the code, there is absolutely nothing you need to delete - the challenge is only asking you to add a value attribute to 5 different elements (2 radio buttons and 3 checkboxes).

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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

So these are the 5 elements that should have the value attribute added. Like @jwilkins.oboe said above, you need to look at the 5 input elememnts and add a new value attribute where the value is set to the lowercase word corresponding to the element.

This is an input element:

  <input id="indoor" type="radio" name="indoor-outdoor">

And with a comment:

  <!--              \/ put the value="..." here -->
  <input id="indoor"  type="radio" name="indoor-outdoor">

And with the attribute added:

  <!--              \/ put the value="..." here -->
  <input id="indoor" value="indoor" type="radio" name="indoor-outdoor">

I would try just focusing on passing one test at a time instead of tackling them all at once.
Once you get one test to pass, then you will know how to pass the others.

Hope that helps!

1 Like