Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Stuck! Please help

Step 12

You can see the words cat photosunderlined next to the image in the preview now. That’s your link; feel free to give it a click. In the text of your pelement, turn the words cat photosinto a link to https://freecatphotoapp.com. When you are done, remove the old anchor tag and text below the paragraph.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1

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

Link to the challenge:

What specific part of the instructions or hints is confusing?

It looks like you deleted the p and anchor elements, which can’t be right.

I concur, my recommendation is to reset the step and make sure that was the issue.

Cannot figure out which anchor to remove

Please post your actual code instead of a picture

yes, that would be better. from the image it looks like the first anchor element, but it’s hard to tell

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

1 Like

Hey I feel that, I was once in your position. Coding is just a bunch of rules that you have to learn, which takes TIME and EFFORT. To answer your question, all of your code should be in a single line, looking something like below

<p type here <a href="link" type here (remember to complete the tags) Tags are REALLY important, that'll screw you up later down the line if you don't learn them now. Hope this helps.

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