Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Describe your issue in detail here. How have I omitted the href?

Your code so far

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

<!-- User Editable Region -->

      <p><a>See more <a href="https://freecatphotoapp.com">cat photos<a>in our gallery.<a href="https://freecatphotoapp.com><a>link to cat pictures<a><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/17.2.1 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

It says I have omitted the href value but I have href in line 7 . I am missing something.
It also says I have omitted the text. Should what I have placed on line 7 actually be on Line 8?

I moved everything to line 8 and that appears to have solved some of the problem but I am still omitting the href value and I don’t know why?

Hey! Reset your challenge and do as per instructions. Wrap the anchor opening and closing tags around cat photos text and in the opening anchor tag put href attribute with the value link provided in the challenge instructions.

@blackpete85

4 Likes

Hi! Let me know if you’d prefer I not answer your posts here.

I agree with hasanzaib that the first thing you’ll want to do is reset. (The main thing I see is that you’ve added too many <a> tags, but there’s also a missing quotation mark that means the program can’t “see” some of the code and text. )

Once you’ve reset, then look at that nice refreshed line 8 to see how the link is structured. On line 8, the text that makes up the link is link to cat pictures. On line 7, the text that makes up the link should be cat photos – no more, no less.

3 Likes

It still says I have omitted the href value.
I really appreciate your help in this, both of you.

You’ll need to paste your updated code in here so we can see what you did. Please use the following method to do that so we can see your actual HTML. Also, don’t mark this as solved if it isn’t solved or people won’t look at it because they will assume you don’t need help because it is solved.

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. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

2 Likes