# Learn HTML by Building a Cat Photo App - Step 17

**URL:** <https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-17/574391>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [November 27, 2022, 11:35pm UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-17/574391 "2022-11-27T23:35:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sajjad884](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sajjad884/32/239750_2.png) [@sajjad884](https://forum.freecodecamp.org/u/sajjad884)\
**Post date:** [November 27, 2022, 11:35pm UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-17/574391/1 "2022-11-27T23:35:43Z")

</div>

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

Hi . I am brand new to coding. When I am closing the section 2, it gives me an error saying that your section element should have an opening tag while I have the opening tag but I don’t get the problem.

**Your code so far**

```html
<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
      </section>

<section2>
<h3>Some More Cute Cats Photos </h3>
<p> Sleeping Cat 
   Cuddling Cat
   Domestic Cat
   Calico Cat
   Out going Cat
   Very talkative cat </a>
      </p>
      </section2>
    </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/107.0.0.0 Safari/537.36`

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

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-17)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [November 27, 2022, 11:39pm UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-17/574391/2 "2022-11-27T23:39:11Z")

</div>

> [@sajjad884](#):
>
> ```auto
> <section>
> <h2>Cat Photos</h2>
> <!-- TODO: Add link to cat photos -->
> <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
> </section>
> 
> ```

Earlier you created a section element which is seen in the code above.  
You must create another section element (not a section2 element).  
Reset the code to put it back to its starting point and then simply add a section element (with its opening and closing tag included)

---

<div class="post-metadata">

**Author:** ![sajjad884](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sajjad884/32/239750_2.png) [@sajjad884](https://forum.freecodecamp.org/u/sajjad884)\
**Post date:** [November 27, 2022, 11:47pm UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-17/574391/3 "2022-11-27T23:47:18Z")

</div>

Thank you for your kind reply. It helped.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [May 29, 2023, 11:47am UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-17/574391/4 "2023-05-29T11:47:49Z")

</div>

Closed on May 29, 2023, 11:47am UTC

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