Tell us what’s happening:
Describe your issue in detail here. I have added the section but it is showing that
my section element should have an opening tag. Opening tags have the following syntax: <elementName> . Can someone pls help me on that ?
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>CatPhotoApp</h1>
<section
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
</main>
<!-- User Editable Region -->
</body>
</html>
Challenge: Learn HTML by Building a Cat Photo App - Step 16
The 'section element has both, the opening <section> , and the closing </section> tag.
Close the opening tag with the right angle bracket >, and add the closing ‘section’ tag after the ‘a’ element.
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.