Build cat app step 14

this code is confusing I have put it the right order 100 times and it keeps saying it’s incorrect this is the order I have used
cute cats <href=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg
it says the href element should be exactly what I am saying it is what am I doing wrong

Welcome to the forum @EricAutry1

The href attribute needs to go in the opening anchor tag.

If you need more help, please post your full code.

Use the following method to post code to the forum:

  1. On a separate line type three back ticks.
  2. On a separate line paste your code.
  3. On the last line type three back ticks. Here is a single back tick `

Happy coding

The opening tag with cute cats? It’s like no matter what order I put it in I get "the href attribute of the new element must be https://cdn.freecodecamp.org/curriculum/cat-photo-app-running/cats.jpg

Hi there!

Copy and paste your code here in your reply and add three back ticks on a separate line before and after you code block. It will preformed your for visibility. Here is three back tick → ```

In the first post, you added the href attribute, without first inserting the tag name for the anchor element: a

The following is not valid code:

<href=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg”

An anchor element needs to start with the tag name, then the attribute, then the closing angular bracket.

<a href="">