Learn HTML by Building a Cat Photo App - Step 4

Tell us what’s happening:

i add comment above p element butt it still show add comment abot p element

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>

<!-- User Editable Region -->

    <!--TODO: Add link to cat photos-->
    <p>Everyone loves <u>cute cats</u> online!</p>
    <p>See more <u>cat photos</u> in our gallery.</p>
    
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
    <h1>Cat Lists</h1>
    <h2>Things cats love:</h2>
    <ul> 
      <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>

<img src="https://www.allrecipes.com/thmb/k-7ylxn1DrCHEPif3lJrRBOhqkA=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/AR-19344-Homemade-Lasagna-beauty-2x1-98da45c3a5854a2b8901a92123ccb6f1.jpg" width="280" height="280"/img>
<p> Cats <i>love</i> lasagna.</p></ul>
<h2>Top 3 things cats hate:</h2>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
  <br>
  <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSJbMUE_7DRjMMAkLGB9dsc3tHK6f3c54vHIQ&s">
  <p> Cats <b>hate</b> other cats.</p>
</ol>
<h2>Cat Form</h2>
<form> 
  <label
  <p> Is your cat an indoor or outdoor cats?</p>
   <input type="radio" id="indoor" name="fav_language" value="indoor">
  <label for="Indoor">Indoor</label>
   <input type="radio" id="outdoor" name="fav_language" value="outdoor">
  <label for="Indoor">Outdoor</label>
  <br>
  <br>
<label
  <p>What's your cat's personality?</p>
  <input type="checkbox" id="loving" name="personality" value="loving">
  <label for="loving">Loving</label>
  <input type="checkbox" id="lazy" name="poersonality" value="lazy">
  <label for="lazy">lazy</label>
  <input type="checkbox" id="energetic" name="personality" value="energetic">
  <label for="energetic">Energetic</label>
<br>
<br>
<input type="url" id="photo" placeholder="cat photo url">
<input type="submit">


 </form>





<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 4

Welcome to the forum @mahi.mian20

You should not have underline elements in your code.

Also, there is more code than necessary for step 4.

Please remove the u elements.

Happy coding

1 Like

you should not add code randomly. Reset the step to restore the starting code, then add only the comment