Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

I’ve been getting this error message “Your anchor (a) element should have an opening tag. Opening tags have this syntax: .” and I’ve tried everything I could think of. But still don’t know what am doing wrong

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>
      <ahref='https://freedmcodecamp.org'></a>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 10

Welcome to the FFC forum. You need a space between a and href attribute.
@Cerry

i did that already but i keep getting - ‘your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo.’

Yep, the error message is telling you the problem.

You used this https://freedmcodecamp.org
but you need to use this: https://freecatphotoapp.com

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