Learn HTML by Building a Cat Photo App - Step 18

Tell us what’s happening:

Describe your issue in detail here.
I have a problem in step 18

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <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>

<!-- User Editable Region -->

        <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>
   <h2><section></h2><Cat Lists>   
    </section> 

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; U; Android 12; TECNO BF7 Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.64 Mobile Safari/537.36 OPR/77.0.2254.69831

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 18

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!

Hi!
Next time you create a post, please try explaining your issue, using your own words.

Remember elements have an opening tag, a closing tag, and the text goes in-between the opening and closing tag.
Reset your code. Then in the empty line add your h2 opening tag, followed by the text, and after the text add your closing tag.

1 Like

Here’s an article explaining about html elements and tags.

1 Like

Hey @oluwadamilolasamuel9 when you come back, can you help us finding out why you have a problem in step 18?
What exactly you find to be the problem? Can you tell us why you are not able to solve it?
Many thanks.

Hello @oluwadamilolasamuel9 !

It appears the h2 element tags have been mistakenly placed around the opening section tag. They should be around the Cat Lists which should not have any angle <> tags around the words.

Example using h1 tags for the example: 
<section>
<h1>Text here</h1>
</section>

May your coding path be smooth.

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