Please help me. I did everything exactly from the example but still i can't figure out the correct code, please help

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://www.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="https://www.freecatphotoapp.com/submit-cat-photo">
  <label><input type="radio" name="outdoor" value="outdoor"> outdoor</label>
  <label><input type="radio" name="indoor" value="indoor"> indoor</label>
  <label><input type="checkbox" name="loving" value="loving"> loving</label>

<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>
<label for="loving">
<input id="loving" value="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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

can you check input for id lazy and and id energetic bcoz I don’t see value attribute there in your html.

Initially, you were provided with 2 radio buttons and 3 checkboxes on the code. But right now, I can see you having 4 radio buttons and 4 checkboxes on the code.

You are only supposed to add value attributes to each of the radio and checkbox inputs that you are initially provided with. And not make any new radio button or checkbox.

Now, you can use the Reset All Code which will take your code back to how it was initially if you don’t remember how your code looked at first. Then you can redo the task mentioned on the challenge again.

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