Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening: Hi I am new and need help please help me thank you!

A link’s text must be placed between the opening and closing tags of an anchor (a) element. Describe your issue in detail here. Don’t know what to do need help

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com "></a> link to cat pictures

<!-- 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 11

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!

does it say what link you need to put? I can help you if you give me a bit more info on your issue, thanks :slight_smile:

Ah ok, i have just seen the link.
so to make a link in html you need to use the <a> tag.
For example, to make a link to youtubeyou would do this:

<a href="https://youtube.com">Youtube</a>

Lets break down what each part of the code means:

<a

this part starts off the link tag in html.

href="https://youtube.com">

“href” is where we put the link where we want the user to go to, inside the quotes.
the closing angle bracket finishes the first <a> tag.

The text that will be shown to the person viewing the page comes next:

Youtube</a>

and </a> is the second tag that finishes off the link.
Now on the thing you are stuck on, it wants the text to be “link to cat pictures”.
We can edit line 8 like so:
BEFORE:

 <a href="https://freecatphotoapp.com"></a>

Where will the text go?
Mod edit: removed
Click on the spoiler to see if you were right.

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.

1 Like

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