Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
i am stuck on section 7

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>
     <img> src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
    </main>
  </body>
</html>

Your mobile information:

octopus - Android 13 - Android SDK 33

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

Link to the challenge:

attributes belong to tags so they are declared within opening tag’s <> symbols not outside of them

1 Like

like @ghulamshabirbaloch said, attributes are to be declared within the element not outside them. Example:

<elementname attribute="value"></elementname>

Goodluck!! :smiley: :hugs: