Learn HTML by Building a Cat Photo App - Step 6

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>Click here to view more cat photos.</p>
    </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

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a ) tags around these words.

i write the code but is not ecceptable
say like this
orry, your code does not pass. Don’t give up.

Hint

After nesting the anchor (a) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.

Can you show me what you wrote? In your first post you didn’t have any anchor tags at all?

Use the menu option </> to make sure your code show up on the forum in a readable manner.
Or use three backticks in a row above and below the code.
```

<p>Click here to view more cat photos.
        <br>
      <a href="https://freecatphotoapp.com">Cat photos</a>
      </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 (').

you should not have a <br> tag there

please read this post to understand how to solve this step

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