Learn HTML by Building a Cat Photo App - Step 15

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 -->
      <p>See more <a herf ="_blank" herf <"https://freecatphotoapp.com"> cat photos</a> in our gallery.</p>

<!-- 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.">

<!-- User Editable Region -->

    </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/108.0.0.0 Safari/537.36 Edg/108.0.1462.76

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-15

Welcome there,

Please 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. The more you say, the more we can help.

hello, I have an issue with the step 15. I don’t get the results becouse of the opening tag does not work. Here is the problem

 <p>See more <a herf ="_blank" herf <"https://freecatphotoapp.com"> cat photos</a> in our gallery.</p>

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


Notice the syntax highlighting of your code looks “off”. This is because there is some syntax that is not HTML.

I suggest you reset this step, and try again. If you are still stuck, return here, and we can try help you further.

1 Like

Thanx for your help.

Hi @losbrito3

  1. The value for the href attribute should be the link https://freecatphotoapp.com
  2. The value for the target attribute should be _blank. (I did not see the target attribute)

The reasons for your problems are as follows,

  1. href value has been replaced with _blank.
  2. The way that you assigned the value to the second href is not correct.
    The proper way is href = "https://someaddress..com".
    Not href <https://mystupidaddress.com>.
  3. there is no target attribute in <a...> tag.

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