Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

how should i do the anchor typa thing, im stuck here and cant do nothing

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>

<!-- User Editable Region -->

      <p>See more <a href=target="_blank">"https://freecatphotoapp.com </a> cat photos in our gallery.</p>

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

Each tag has attributes and values. href and target are attributes.

The value for the href (hyperlink reference) needs to be a URL. You’ve removed the URL so now the target for the link is gone. You can reset the step or replace it.

target is another attribute, and it has the value "_blank", that part is ok.

An element syntax is like this:

<element attribute="value" attribute="value">

Follow that pattern or syntax.

<img src="relaxing-cat.jpg" alt="A cute orange cat.">

This is what you have now:

<element attribute=attribute="value">
<img src=alt="A cute orange cat.">

I hope this helps!