I don't know here i did a mistake!

I don’t know here the problem is!

    </p>
    Click here to view more <a href="cat photos."
    
    <a href="https://freecatphotoapp.com">cat photos
    <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:102.0) Gecko/20100101 Firefox/102.0

Challenge: Step 12

Link to the challenge:

hiya, I can see your a tag needs to have a closing tag after img tag </a>

I tried it but… still doesn’t work!

What is your new code?

here is the code: 037526

I don’t know what that number means. I’m looking for your new version of this:

shouldn’t closing p element be there?

What is your new code?!?!?! I don’t know what is wrong without seeing your updated code

Here is the code: 037526

That’s a random number. I have literally no idea what this random number means.


Orignally you typed this:

You have made changes since your first post. What HTML have you written in your editor now?

 <p>Click here to view more <a href="cat photos"</a>
       <a href="https://freecatphotoapp.com">cat photos</a>

I’ve edited your post 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 not a valid anchor element.

You already have a correct anchor element on this line; use this instead of making a new one.

Also, you need to put the closing p tag back in your code.

Thank you Jeremy but… still not working… I don’t know where the problem might be!
here what’ve done so far:

<p>Click here to view more <a href="cat photos"</a>.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>

I’ve put a closing p tag but still they are giving me this hint:
Your code should only contain one anchor (a) element. Remove any extra anchor elements. :confused: :confused:

restart the code and do what her want and don’t forget all element have open and must close it />

I’ve tried it but … still…

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

You still have this broken anchor element. Delete it.

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