Tell us what’s happening:
Describe your issue in detail here.
First day trying to learn how to code and stuck on what part I have wrong. Thanks!
Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor’s href attribute value. Your code so far
<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="www.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/16.0 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 15
what was your solution to problem 15, my code is essentially the same but it prompts me that i should only have one opening anchor , when i copy and paste my code to the box it just comes up with the code as per preview. very new to this so any help would be apreciated thankyou
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Hi Mark, just a mod tip for you.
Always check who is asking a question before you answer. If the person asking is not the original poster, just tell the person to make their own topic. Because right now we are all hijacking this thread from the OP. (They get notified every time someone posts to their thread)