HTML, step 12 having issues

Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element.

I have entered:

Click here to view more cat photo .

I moved the href into the p element and deleted the a element which was below for only 1 a element.

BUT, I keep getting the error : The link’s text should be cat photos . You have either omitted the text or have a typo.

It’s like I misspelled cat photo, but I have tried it every which way with spaces and triple checked the spelling, but it still says it’s wrong. What else can I try?

If,

Then your is missing the s at the end.

I have the “s” at the end of cat photos

Which code you exactly have there?

On the forum I missed the “s”, but on the step I have the “s”

Click here to view more cat photos.

Let me try that again:

Click here to view more cat photos.

Can you post the link of the challenge and your code, format is as such, otherwise we see only the result rendereded.

It keeps turning it into the result, not the line of code…grrrr, let me see how to over come this obsticle

CatPhotoApp

Cat Photos

Click here to view more cat photos.

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.

Click here to view more cat photos.

You show have in your challenge, something like this:

<a href="...">...</a>.</p>

It is hard to say because we cant see your code but, probably you dont.

1 Like

Learn HTML by Building a Cat Photo App: Step 12 | freeCodeCamp.org

href=“http://freecatphotoapp.com”>cat photos.

In front of the href there is:

Click here for more <a .....

You should have this there:

<a href="https://freecatphotoapp.com">cat photos</a>.</p>

how did you get the code in there like that? I keep trying, but it just shows the end result, lol

When you type a reply, see to tool bar at the top of the box. It has an </> symbol to format your code as such.

Thanks for the advice)

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 (’).

2 Likes