I was given test and i have to close d tab,how do i close a tab

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2></h3>
<h1>Hello World</h1>
<h2>CatPhotoApp<h1
<h2>CatPhotoApp</h3
<h2>CatPhotoApp</h2>
<h2>CatPhotoApp</h3>
<h2>CatPhotoApp</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; CUBOT NOTE Plus Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36.

Challenge: Headline with the h2 Element

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/headline-with-the-h2-element

Hi!
Usually HTML elements are wrapped between tags like so:
<tag> element </tag>
The first one is the opening tag and the last one ( that includes a /) is the closing one.
If you take a close look at your code you’ll see just a couple of them missing something or having something where it shouldn’t.
Feel free to reach out again if you still need help.
Keep it up!

1 Like

Tell us what’s happening:

Your code so far


ko<h1>Hello World</h1>
<h2>CatPhotoApp<h1
<h2>CatPhotoApp</h2>
<h2>CatPhotoApp</h2></tag>
<j
<h2>CatPhotoApp</h2>ko
<h2>CatphotApp</h2!>

How do i close a tag on h2 code

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; CUBOT NOTE Plus Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36.

Challenge: Headline with the h2 Element

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/headline-with-the-h2-element

Hello, Jummy.

Do you have a question? If so, please fill in the Tell us what’s happening section.

too many things

you need one single h2 element

remove everything below the first h2 element, if you close it correctly it will work
you are trying to close an h2 with half of a closing h1 tag. Fix that and it will work