Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href="https://cat photos"</a>.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/105.0.1343.53

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

hi, yes, i’m having issues w this code, can somebody help me out?

Yeah sure. Do you mind telling us whether you understand the requirement here? (To make the words cat photos in the paragraph into a clickable link)?
Or is the problem that you are not sure how to use an anchor tag?

it would be the second one, not quite sure how to use the anchor tag in this case.

i understand the other requirements

Okay here is an example of an anchor tag.

This one has an opening tag
<a href=“website-address-here”>

And it has some text in the middle
link to cat pictures

And finally a closing tag

Every anchor tag has these 3 parts.
Make sure that each part is complete and syntactically correct (angled brackets, href attribute and value, double quotes etc)

I understand now, thank you very much for helping me out.

1 Like

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