Lexis
1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<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>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Linux; Android 11; SM-A226B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Challenge: Step 15
Link to the challenge:
nest all your elements on section,so section will be child element of main
Lexis
3
I don’t how to go about it, a little example will help please
1 Like
after your main open tag create a section open tag,so all your current elements need to be on your section and close tag your section befor main
Lexis
5
create a section element and place all your elements that are inside your main element inside a section element
<main>
<section>
(all of the code that is in your main element)
</section>
</main>
Lexis
8
Got it… thanks i appreciate your help
system
Closed
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.