Debug a Pet Adoption Page - Debug a Pet Adoption Page

Tell us what’s happpening?

I want help with the “attribute part” that’s the ‘visit casts page’ and ‘visit dogs page’…:face_with_crossed_out_eyes:

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.">

<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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Challenge Information:

Debug a Pet Adoption Page - Debug a Pet Adoption Page

Here is a reference for the anchor element:

: The Anchor element - HTML | MDN

I pretty much did everything right but it still shows error…:face_without_mouth:

Read again the anchor reference. Is there an herf attribute?

herf attribute specifies the URL of da link no?…well they want me to change the ‘src’ part that’s originally there into ‘herf’ so I did what was asked..:pensive_face::neutral_face:

I don’t get what I did wrong though :sob:

Is href the same as herf? :slightly_smiling_face:

2 Likes

Ahhh….thank you I’d probably not have realised that I used ‘herf’ instead of ‘href’…:sweat_smile::face_without_mouth::face_with_crossed_out_eyes:

1 Like

It helps me to remember that it’s a Hypertext REFerence

herf is the sound a cat makes when it’s throwing up a hairball

1 Like