Https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-14

You have the right pieces, but combined incorrectly. Don’t change the image element at all. Only write brand new anchor tags around it.

ok check your 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.">

anchor tag needs an opening and closing tags
<a href=""> </a>

image element need to be an element
<img src="">

now i hope its clear what you wrote wrong, im trying as much as possible to make u find out what wrong by yourself … sorry if im sounding like a bad teacher

We’re all learning different things on here. Learning to code is hard. Learning how to describe how to fix code without giving away the answers is also hard.

3 Likes

its not really a ‘go try something else’ idea its more like ‘restart’

i mean i started this way and found this website very helpful and not confusing at all. just surprised how a simple task would be confusing.

and the video i linked covers good basic amount that for sure will be beneficial .

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

There we go…finally! You are right, sometimes this site does make simple things sound confusing.

1 Like

Thank you, It is appreciated.

That is coding for you. Each word has specific meaning, which can take work to beak down.

Congrats on figuring it out.

Just one small thing to point out.
The alt attribute should go inside the img element.

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

Hope that helps! :slight_smile:

3 Likes

Thank you, ma’am…I remember you from previous hiccups i’ve had…lol

1 Like

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