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 <a cat photos</a> 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 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

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

Link to the challenge:

just add another href attribute in the a element with the same value as the other.

Hi George.
Have tried that but I am not just getting it right

maybe you forgot the gt sighn (>) at the end.
it should be like the one under.

Show us the code you tried when adding the href

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

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

What I don’t understand is that the href element I am being asked already exists, I don’t know which part of the text it should going.

Should I create a new sentence in another line?
Or which part of the sentence, because it already have the href attribute from what I am seeing.

Where is the href in this line?

<a href="https://freecatphotoapp.com">link to cat pictures</a>

Look at the directions again. It seems like you dont know which line of code you are supposed to be making changes to. Read the directions carefully, and make sure you know where you are supposed to be making the changes

That is actually my problem, and that is what I am asking.
Knowing where to insert is the issue, I have inserted all places but still it is not working

You havent though…

You are concerned about the top line but the directions make no mention of this line at all. Did you read them? The directions say

" In the text of your p element, turn the words cat photos into a link by adding opening and closing anchor (a) tags around these words. Then set the href attribute to https://freecatphotoapp.com"

Where is the line in your code that has the words cat photos? In that line do you have an anchor with the href? I can tell you right now if you look back at one of my earlier posts I ask you where the href is for that line

1 Like

It worked, I gut it, thanks

1 Like

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