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 -->

<learn-html-by-building-a-cat-photo-app/step-12

I need help, to get past this stage I am kinda stuck and don’t know what I’m doing wrong
2 Likes

Welcome to the community :smiley:

It can be helpful to use a search engine when introduced to something new.
Try to find a website with a tag/attribute reference page that uses example code.

Here is an example of how to make words inside a paragraph into links:
(this is an example, not the answer)

<p>This is some example code</p>

To make the words ‘some example’ into a link, it is surrounded with the opening and closing anchor tags

<p>This is <a>some example</a> code</p>

Then an href is added to the opening anchor tag

<p>This is <a href="example">some example</a> code</p>
1 Like

I need help, I don’t know what’s wrong with this code.

See more cat photos in our gallery. This is <a href="https://freecatphotoapp.com" cat photos

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

you forgot the closing tag. Above is the correct way.

Hello, It still says I’m doing it the wrong way, any tips?

See more cat photos in our gallery cat photos

link to cat photos

See more cat photos in our gallery cat photos

link to cat photos

You wrote “See more cat photos in our gallery cat photos”. You should add <a> element to the “cat photos” in the middle of the sentence, not at the end. Delete the last “cat photos.”

It should be like:
See more <a>cat photos</a> in our gallery.

Also, step 11 said, “link to cat pictures” not “link to cat photos” on the second line. Try changing that as well.

2 Likes

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like