Learn HTML by Building a Cat Photo App - Step 12

Step 12

You can turn any text into a link, such as the text inside of a p element.

Example Code

<p>I think <a href="https://www.freecodecamp.org">freeCodeCamp</a> is great.</p>

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

My answer:

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

Evaluation result:

Sorry, your code does not pass. Try again.

The link’s text should be cat photos. You have either omitted the text or have a typo.

Welcome to the forum @toshitazawa

cat photos</ in our gallery.</p>

Try adding the rest of the code for the anchor closing tag.

Happy coding

1 Like

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

1 Like