Learn HTML by Building a Cat Photo App - Step 3

Tell us what’s happening:

Your p element should have a closing tag. Closing tags have a / just after the < character.
3. Your p element’s text should be See more cat photos in our gallery. You have either omitted the text or have a typo.
4. Your p element should be below the h2 element. You have them in the wrong order.
// tests completed
// console output
[TypeError: Cannot read properties of null (reading ‘innerText’)]

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>

<!-- User Editable Region -->

    <h2>Cat Photos</h2>
    </p><See more cat photos in our gallary.></h2>

<!-- 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/128.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 3

Hey @peteribrahim19901990 ,

The problem is with how the <p> tag is opened and closed. You’ve got this line:

</p><See more cat photos in our gallary.></h2>

Here’s how it should look:

<p>See more cat photos in our gallery.</p>

I also fixed the spelling of “gallary” to “gallery.” Give that a try, and it should work fine! Let me know if you need any more help. :smile:

Cheers!