Debug a Pet Adoption Page - Debug a Pet Adoption Page

Tell us what’s happening:

I have the error message: Your element should have an a attribute instead of the attribute img | src | href. So I am stuck maybe its close and yet it keeps giving the same message I don’ t understand the language of syntax yet I am brand new at this

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>
<a> a="https://icanhas.cheezburger.com/lolcats=" alt="Two cats sleeping on a couch" </a>

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0

Challenge Information:

Debug a Pet Adoption Page - Debug a Pet Adoption Page

Welcome to the forum @andrewsrenea1!

Brackets (<>) indicate the start and end of an HTML element’s opening and closing tags. Attributes (i.e. href, alt) go inside the opening tag of an HTML element.

Please take a look at this reference for an example of the anchor element’s syntax:

HTML a tag

And, as you’re learning, please don’t hesitate to look things up online when you don’t understand a concept or remember the syntax, etc.

Happy coding!