Build a Cat Photo App - Step 7

Tell us what’s happening:

opening tags have syntax.

Your code so far

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

<!-- User Editable Region -->

      <p>Everyone loves cute cats online!</p>
      img <elementName>

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0 (Edition std-2)

Challenge Information:

Build a Cat Photo App - Step 7

I’m not sure what exactly you are asking. Can you try to clarify please?

These are examples of correct opening HTML tags.

1 Like

Your img element should have an opening tag. Opening tags have this syntax: <elementName> it says this

1 Like

Please talk to us in your own words instead of copy-pasting messages from the lessons.

1 Like

i dont know how to include an opening tag to my img element

Did you see this thing I said? Here are three valid opening tags you’ve written. How do they compare to your code for this step?

The message from the lesson was clear:
Your img ELEMENT…
Opening tags have this syntax: <ELEMENTName>
So, based on that message, if img is an element, how do you think the opening tag for the img element should look?

Further reading, if needed:
https://www.geeksforgeeks.org/html-elements/