Debug a Pet Adoption Page - Debug a Pet Adoption Page

Tell us what’s happening:

What am I missing here? Is it the img element? I have no idea! Very new to trying to code.

Your code so far

<h1>Welcome XYZ Pet Adoption!</h1>
<p>Consider adopting a pet today. We have cats, dogs, rabbits and more.</p>

<h2>See our cats!</h2>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Two tabby kittens sleeping together on a couch."img>

<h2>Adopt a cat!</h2>
<a herf="cats"> Visit cats page</a>

<h2>Adopt a dog!</h2>
<a herf="dogs"> Visit dogs page</a>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Debug a Pet Adoption Page - Debug a Pet Adoption Page

Don’t change the URL of the links, and don’t add spaces where there weren’t any.

Generally there should be no spaces between the element tags and the inner text

<element>inner text</element>

a elements have an attribute which stands for Hypertext REFerence.

this is not an existing attribute

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