HTML basics/problem

I am currently learning to code HTML.
The last line says to write “Click here to view more cat photos”. However I am told that the text is incorrect. I am very confused. Thanks for the help.

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  </p>Click here to view more cat photos.
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPad; CPU OS 15_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/101.0.4951.58 Mobile/15E148 Safari/604.1

Challenge: Step 3

Link to the challenge:

You have the syntax wrong, p element had a syntax similar to the h1 and the h2 you typed. This is an example:

<p>This is some text</p>

If I use your syntax it would look like:
</p>This is some text

Can you see the difference?

Ok so idk if you’re already past this but you wrote:
< /p > Click here to view more cat photos

Now the problem here is that there’s no opening tag (which looks like this: < p > Without the spaces in between the <>) and instead just wrote a closing tag at the beginning < /p >
So instead it should look like this:
< p >Click here to view more cat photos< /p >

(Without the space between the <>)

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