I can not figure it out what is wrong about the code

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 cat his</li>
</ol>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<label for="indoor">Indoor</label>
<input id="indoor"type="radio"name="indoor-outdoor" value="indoor" checked>
<label for="outdoor">Outdoor</label>
<input type="radio" id="outdoor"name="indoor-outdoor"
value="outdoo">
<br>
<label for="loving">Loving</label>
<input id="loving"type="checkbox"name="personality" value="loving" checked>
<label for="lazy">Lazy</label>
<input id="lazy"type="checkbox"name="personality"  value="lazy">
<label for="energitec">Energitec</label>
<input id="energitec"type="checkbox" name="personality" value="energitec">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; RMX1851) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36

Challenge: Check Radio Buttons and Checkboxes by Default

Link to the challenge:

Hi again,

I see that you have two similar issues. I answered you in the previous topic you created. Your code is good. I put you what I told you in the other topic:

I verified your code and it is ok. You respected what is asked. Try to refresh your page, verify that the zoom of your page is at 100%. Check if you don’t have extensions such as Adblock or dark mode activated. If it still doesn’t work, maybe try another browser.

I hope it works, I don’t know if there are other ways to make it pass. What is sure is that your two codes are good.

1 Like

I can also verify that your code is correct and solves the challenge. Is it not accepting your code?

1 Like

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