Debug a Pet Adoption Page - Debug a Pet Adoption Page

Tell us what’s happening:

Why doesn’t the link for “Visit cats here!” work?

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 href="/cats">Visit cats page</a>

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Debug a Pet Adoption Page - Debug a Pet Adoption Page

Hi @zuming.liang3.141592, and welcome to the FCC Community!

There are some hints in your syntax highlighting. You have an unclosed alt attribute. Remember that attributes with spaces must have double quotes surrounding them in order to be valid.

And a self closing tag, such as <img> looks similar to this:

<img src="" alt="">

Fix those issues, and you’ll be good to go!

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