Learn HTML by Building a Cat Photo App - Step 12

The instructions say nothing about removing anything. Remove nothing.

This is not a valid anchor element.

This is a valid anchor element

<p>Click here to view more <a href="cat photos</a>.</p>

I only added the opening and closing anchor elements and deleted nothing from the original. It still says:

The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo.

Here is the full code wit both lines:

<p>Click here to view more <a href="cat photos</a>.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

This is not a valid anchor element.

Can you tell me what the opening anchor tag is on the next line? What the anchor text is? What the closing anchor tag is?

Looking at the paragraph line, you need to create a valid anchor opening tag.
A valid anchor opening tag such as in step 10/11

or like this
<a href="some website address">Click Me!</a>
This is an opening tag. Followed by the text of the link Click Me! followed by the closing anchor tag.

So look at what you typed and make sure it follows this convention.

1 Like

Yes, I just reset it again.

<p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

This is the original, before I make any changes.

Ok, so what are the parts on the second line?

A big part of learning code is knowing what everything is called.

They would not allow me to send anymore messages, due to reaching my limit for the day.

My first line is:

Opening P element “Click here to view more cat photos” closing P element

The second line reads:

Opening anchor tag (<a href=”) the URL”>link to cat pictures closing anchor tag ()

**I have changed nothing.

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

Why? The last full code you posted was wrong

The solution has been redacted.

It now shows as:

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

I added code:

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

I still need to see absolutely all of your code - all 12ish lines.

hi, copy this i just passed that question.
Mod edit: solution redacted

I think you wrapped the wrong text in the “a” tags, the challenge required that you wrap your “cat photos” in the “p” element on line 7 so that it looks like:

"See more cat photos in our gallery."

link to cat pictures

This is exactly what I have in the reply above, I have entered this as the solution and it still says it’s incorrect. I did not alter the second line below it.

Check my reply above to JeremyLT

The entire code:

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

i can see your missing a speech “” at the end of .com bro try that

I fixed it on the solution, still says its wrong.

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

ok now put a space >in so they not so close

try doing that if still not working i have one more idea
the " marks on https look different from the rest? delete them and add new " so they match at the end with .com"

2 Likes

That was it!! It was the " "!!! Thank you soooooo much!!! I have been stuck for days. I am so happy!!! I appreciate you taking your time out to assist me.

Bless you!

1 Like