Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

I am having trouble getting the anchor element correct. I tried mimicking the example given and then followed the hints but it still isn’t passing. Right now this is the hint I keep on getting:
Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .

I’ve tried moving “>” around to in-between the link and the opening tag a.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
   <p>Click here to view more cat photos.</p>
   <a 'https://freecatphotoapp.com'></a> 
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 10

Link to the challenge:

The anchor element’s url needs to be associated with the href attribute by using a =

1 Like

Hello and welcome to FCC

Your opening tag is incorrect it should be <a href="">

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