I am unsure of how to nest h2
, comment, p
, and anchor (a
) elements in the section element. Can someone please provide an example of where the codes should be placed? (i.e. wrapping them with an opening and closing ‘section’ tag) I am still unclear from the directive provided, and I am unsure of what the named elements are as will as how to identify the ‘section’ element ( I have not attempted a code because I am unsure of how to proceed).
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 16
Link to the challenge: