Learn HTML by Building a Cat Photo App - Step 12

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

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 <a herf=https://freecatphotoapp</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/110.0.0.0 Safari/537.36 Edg/110.0.1587.57

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

Link to the challenge:

Please tell us in your own words, what problems do you have with this code?

I believe I’m not placing the href value on the right place, I don’t understand the whole code

Your href value is kind of in the right place, but your current version of code has typos and syntax errors.

Instead of addressing each one of these issues, I suggest to reset the step, so you will have situation like this:

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

inside user editable region.

Since you mentioned that you do not understand the whole code, it would be good idea to try and specify, what exactly is hard to understand.

the <a></a> tag turns whatever is between it into a link. On the actual webpage, if someone clicks on those words it will go to the webpage that is linked. you will not see the web address on the webpage itself, but you need to have the web address in the code. In your, case, you did do that, but you to out the words that need to be clicked on.

Example:

<a href="https://www.myphotos.com>My photos</a>

On the actual web page, if I clicked on “My photos” , it will go to that website

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