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
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.