Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main> <h1> <p> </main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/114 Version/11.1.1 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Welcome to FCC Forum and a great community!
For future, please include details of the problem you are having with your code.
Your are thinking along the right idea.
Only the
< main>
Should be above, or before the < h1>
with the closing tag coming after the
< p> element tag.
< /main>
Example using different elements.
< section>
< div> this is an example < /div>
< label for=“sports”> Sports < /label>
< input id=“sports”> Sports (input elements are self closing)
< /section>
Different elements and text; but the same expected layout.
I hope this helped you.