I am facing difficulty on step 12 I don’t know whats wrong with my coding
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>(a)See more https://freecatphotoapp.com in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<!-- User Editable Region -->
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 OPR/99.0.0.0
Challenge: Learn HTML by Building a Cat Photo App - Step 12
your code should be like this:
mod edit: removed solution
the opening tag of a link element should be like this <a>
inside of it add the href attribute with the desired link
put the closing tag </a> at the end of the text cat photos to wrap it inside the a tag
the (a) in explanation is a little bit misleading. It means use the <a> and </a> which are the opening and closing tags
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.