Hello can someone point what i may be doing wrong

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p><a href=Click here to view more cat photos.</p>
    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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49

Challenge: Step 12

Link to the challenge:

Mod Edit: SOLUTION REMOVED

I’ve found a guy on youtube. K-dev is the channel name. super helpful info

Mod Edit: SOLUTION REMOVED
the link should be right before the word cat photos

something is missing here

hi there,
the a element should be placed inside the text of p, after the words “… view more”.
What you can do:
Copy the whole a element.
Paste it right behind the “…view more”.
Now just delete the second “cat photos”
the dot “.” should now be between closing-a tag and closing p-tag.
Hope this was helpful.
Have a nice day.

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

…? Please communicate with us what you want help with


You broke the old anchor element and delete all of the text inside of the p element. This is the original code:

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

…?

This is not a valid anchor element.

I keep getting stcuk

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

This is a correct anchor element you wrote on the last step. You should use it.

when Put it like that it says " The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo."

Put it like what? What is your updated code?

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

1 Like

You have the phrase ‘cat photos’ twice, but you should only have it once.

1 Like

woow finally got it cant belive I didnt see that smh Thank you sooo much for your help and patience you are the best.

1 Like

Click here to view more cat photos.

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