Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Can’t seem to get through this lesson. I’ve tried the different possibilities I can think of but the hint continues to say "You should nest a new anchor (a) element within the p element.
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 cat photos in our gallery</p> <a href='https://freecatphotoapp.com'</a>
      <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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

Do you see the words “cat photos” here?
If you look at the preview pane can you click on them?

The objective is to make these two words clickable.

You do this by surrounding them with an anchor tag.

Hi, I managed to surround them with the anchor tag and when I look at the preview pane the words “cat photos” are clickable but it still says I have an error. The hint says I have either omitted the text or have a typo but I really don’t know what else I have to change.
I currently have it typed as
<p> See more <a href=https://freecatphotoapp.com> cat photos <a/> in our gallery </p>

I’ve edited your code for readability. 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 (').

this is a good try. The only problem now is your spacing.
The link text should not have any extra spaces (to keep the paragraph looking the way it used to look) so remove the space on the immediate left of cat and on the immediate right of photos

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