Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1><main>CatPhotoApp</h1>
  <h2>Cat Photos</h2></main>
  <p>Click here to view more cat photos.</p> 
                                  

  
</body>
</html>
  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 5

Link to the challenge:

Hey! Welcome to the freeCodeCamp’s community forums. It would be much easier for others to help you if you add a brief description of the issues you’re facing in the post.

As for this particular problem, it looks like you have your start and end tags mixed up here

As a refresher, any HTML element should be in the form of

//start       end
<article> </article>

you can have multiple element nested inside of a particular element.

//start    
<article> 

    <p>this is a paragraph </p>
    <button>hello<button>

//end
</article>

however, what you cannot do is start an element inside of a parent element and end it outside like this.

<article>
    <p>
</article>
   </p>

this is wrong and will cause expected behavior.
Hope this helps! :smile:

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