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 cat photos 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/116.0.0.0 Safari/537.36 Edg/116.0.1938.54

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

Link to the challenge:

You should open the anchor tag just before the" cat photo" and close it just before it.
All within the p-element

2 Likes

Hey there!
When posting to the forum its best to describe your issue.
The challenge is asking you to turn the words “cat photos” into a link
The syntax for only adding specific words into a link is:

<p>this is not a link<a href="https://example.com"> this is a link</a></p>

Hope this helped! :slight_smile:

1 Like

Let’s put the example this way.
Say you have a p-element

this is a way forward on the journey.

Then you need to create link for WAY FORWARD Thne you will have

this is a *****on the journey.

**** Is the space you will put WAY FORWARD

@IbnuMiftaahAbdulKabi,
If you don’t want your HTML examples to dissappear you should put them in a code block, or use the backslash(\) escape code.

To put it in a code black either press the “preformatted text” button (</>) or press the backtick (`) 3 times. as the GIF shows.
Here is a guide on formatting text:
Forum Code Formatting

2 Likes

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