Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I don’t understand how to turn the photo into a link. It keeps telling me I should have an opening tag ? Can someone write this code out, please? I have tried everything I can think of. Thank you.

Your code so far

<img src="htt://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back." <a target="_blank" href= "https://freecatphotoapp.com"</a> 
    

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14268.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.111 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

You should probably review how to make links which was taught in earlier steps (I think starting from step 10 maybe).
Once you have reviewed, all you have to do is repeat what you learned but place the anchor tag around the image (instead of the text that you practiced with before)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.