Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<element> <elementName
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
></elementName>
</element>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Linux; Android 10; CPH1937) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Challenge: Step 15
Link to the challenge:
txt88
June 30, 2022, 3:59am
2
See the instructions
Take all the elements currently located within the main
element and nest them in a section
element.
So you need to start a <section>
right after the main element and close it (</section>
) right before the </main>
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<element> <elementName
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
></elementName>
</element>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Linux; Android 10; CPH1937) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Challenge: Step 15
Link to the challenge:
Read the instructions again. You’re supposed to nest the entire code inside <main>
element using a <section>
element.
Also, there’s no such element as <element>
or <elementName>
. Remove it.
system
Closed
December 29, 2022, 9:15pm
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.