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**
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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="https://www.freecatphotoapp.com/submit-cat-photo">
<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>
</form>
</main>
**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!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.