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

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

<!-- 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15

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

Link to the challenge:

Hi there and welcome to our community!

It’s helpful if you can learn to describe the problems you’re facing in your own words. Not only is it a vital skill in coding but also, the more you say, the more we can help!

You should be turning the words ‘cat photos’ into a link.

Here’s an example of how to turn text into a link (inside a p element):

<!-- text without link -->
<p>Please visit my website for awesome content.</p>

<!-- 'my website' turned into a link -->
<p>Please visit <a href="example.com">my website</a> for awesome content.</p>
2 Likes

Hi @florya,
The issue that you are facing is because you are not turning the word cat photos into a link in your <p></p> element.

To do that, remember to allocate your anchor <a></a> between this word.

@igorgetmeabrain gave you an excellent example how to do that.

1 Like

This challenge requires you to put the words “cat photos” in an anchor tag.

As an example, if I had a p tag with words, I may add a link around the words “coding in HTML” as follows:

<p>I like <a href="somefakewebsite.com">coding in HTML</a> and CSS!</p>

Hope this helps.

1 Like

la respuesta correcta es

See more cat photos in our gallery.