Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening: i cant seem to find out how to set the href attributte properly

Describe your issue in detail here.
this is what i have been getting so far for the step

See more <a cat photos in our gallery.

link to cat pictures
<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a cat photos</a> in our gallery.</p>
      <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/120.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

i cant seem to set the href attribute properly in order to create the link for the cat photos , so far for step 12 i have this:

<p>See more <a cat photos</a> in our gallery.</p>
      <a href= "https://freecatphotoapp.com">link to cat pictures</a> 

and when i try to look it up the answers seemto reflect this as well but i am unable to submit the code if its correct

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

You have some syntax errors here for the anchor tag

this is the correct syntax for an anchor element

<a href="link-goes-here">anchor text goes here</a>

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