Tell us what’s happening:
Why is the code did not pass where in conditions are met. Show correct code.
It is time to add a new section. Add a second section
element below the existing section
element.
Both section
elements should be between the opening and closing tags of the main
element.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<!-- User Editable Region -->
<main>
<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>
</section>
<section>
<!-- todo: add second section element here -->
</section>
</main>
<!-- User Editable Region -->
</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/115.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 17
Link to the challenge: