Learn HTML by Building a Cat Photo App - Step 14

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

  **Your code so far**
      <html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <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>
    <a href attribute value ="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.">
  </main>
</body>
</html>
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <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>
    <a href attribute value ="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.">
  </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/104.0.0.0 Safari/537.36

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

Link to the challenge:

You need to put your HTML in between the triple back ticks for it to display properly in here. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

But, if I am reading your HTML correctly:

<a href attribute value ="https://freecatphotoapp.com" 

This isn’t how you add an href attribute to the a tag. You’ve already done this with the words “cat photos” in the p element. Look at that for an example.

thanks where are you replying from, besides i don’t seem to under the back ticks like you said…, ``` is that what you mean ? \\

Yes, that’s exactly it.

Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor's href attribute value.```

You need to put your HTML between the triple back ticks. You don’t need to repeat the instructions.

a bit confused please…

You need to be more specific. I don’t know what you are confused about. It would be nice to see your actual HTML. You can do that by following the instructions I gave you above about using the triple back tick method. I also guessed based on what I could tell from your initial post. Did that make sense?

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