Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here. [quote=“ankitjha2114, post:1, topic:535558, full:true”]
Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <main>
  <h1>
  <main>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p></main>
</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:

[/quote]

  **Your code so far**
<html>
<body>
  <h1> <main> CatPhotoApp</h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
<p> </main> 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/104.0.5112.102 Safari/537.36 Edg/104.0.1293.70

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

Link to the challenge:

Hello there.

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Hello,
I am currently having issues with placing my element behind the [p], after placing my after the [h1], can i have directions on how to place it correctly?

In you code, do you see where you have placed the main tag?
It is not “after the h1 element” right now.
In fact it is nested within (inside) the h1 element.

So whenever you are asked to add something after an element, then you must add the new code after the ending tag of that element.

I suggest you click on the restart step button to reload the code again. This time pay attention to the physical location of the start and end tags. Together they make an element.

2 Likes

Thanks alot, let me restart and try it again,
I would inform you on what comes up.

1 Like