Stuck in step 14 HTML Help!

Hello everyone! This is my code:

<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.”

This is the error:
You should have an img element with an src value of https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg . You may have accidentally deleted it.

Thanks for the help in advance. Have a nice day! I am just starting to learn because I wanna be a programmer but sometimes I get discouraged cos if i get stuck at these kind of basic stuff what do i expect in the future:( Anyway Ill keep trying! :slight_smile:

First double-check your img element (you missed the end tag, >):
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt=“A cute orange cat lying on its back.”>

Then surround it with the anchor element:
<a href=“https://freecatphotoapp.com”><img src="" alt=""></a>

1 Like

I am having the same issue and the code is closed too.

´´´
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt=<“A cute orange cat lying on its back.”>

´´´
PROBLEM SOLVED thanks! I added a closing tag for the img element i thought it wasnt necessary…

Hi @lucia98

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.

```
Your code goes here
```

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

I am having the same issue -
‘’’
<a herf ="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>
‘’’
This is the hint message I keep getting -

Your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo.

You do have a typo. Check your href attribute.

1 Like

After many tries, I solved this step. We just have to put the img tag in between of a tag.
The code is as follow:

A cute orange cat lying on its back.

Thanks,