Learn HTML by Building a Cat Photo App - Step 10]

This code does not pass.

<а href=‘https://freecatphotoapp.com’>

The reason explained is:
Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .

Hello @simovic3 Welcome to our forum.
We need to see your code. This is how you can add it.

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

Thank you for answering so quickly. I am totally new. I will try again.

<а href='https://freecatphotoapp.com'></a>

This code does not pass.

This isn’t the full code.

1 Like

The previous two codes that passed were:

<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>

And the Step 10 says
You can link to another page with the anchor (a) element. For example,
would link tofreecodecamp.org`.

Add an anchor element after the paragraph that links to https://freecatphotoapp.com. At this point, the link won’t show up in the preview.

Let this come after your paragraph element.

It should come after this and make sure the href is exact.

2 Likes

Thank you very much. After many attempts, I finally managed to type the same thing and succeeded.

1 Like

You are much welcome brother.

2 Likes

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