Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <element name>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      </element name>
    </main>
  </body>
</html>

Your mobile information:

PHJ110 - Android 13 - Android SDK 33

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hello @Muftau Hope you’re fine! You didn’t explain where you’re stuck and what is the matter. You know learning how to formulate a problem is an important part of coding!
Anyway, In this step you have to nest the h2 element, the comment, the p element and the anchor in a section element.
The good thing in your code is that you have properly wrapped those elements. Unfortunately <element name> is not a tag element unless I’m wrong and I’m already old school :laughing:.
In short you just need to change it and replace it by the <section> element which is more appropriate for this exercise. :+1:

Hope i was helpful, Don’t give up try and try until it works as you want! Happy coding @Muftau ! :+1: :wink:

I have solved it and how good are you oin coding cos I want to ask something from you

2 Likes

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