Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.
hi guys! im new here so cut me some slack lol >-< I’m currently trying to hyperlink on a picture via anchor controls and i am s t u c k. I know im supposed to nest the element (img) between the (a) element but im not quite sure where to nest the anchor in this element. Whenever im close it tells me that i have too many opening tags for anchor element. CONSTRUCTIVE CRITICISM IS SO WELCOMED RIGHT NOW. thanks guys <3
Your code so far

      <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>
     <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

Your browser information:

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

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

Link to the challenge:

Hello, welcome to the forum.
If you can look at the quoted code here…
There is an example of an anchor tag in the top line already.
You need something similar to this.
Place the opening anchor tag to the left of the img (on the same line but on its left)
And place the closing anchor tag on the right of the img

You can even copy and paste the example from the previous line (being careful to copy the whole tag without missing a character somewhere).

So try to make an anchor tag.
One to the left and one for the right of the image.
The two should be two parts of a whole.
(The opening on the left and the closing on the right, kind of like bookends)

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