freeCodeCamp Challenge Guide: Headline with the h2 Element

Headline with the h2 Element


Problem Explanation

In the first lesson you have learned what an HTML element is and you have modified one.

Now you are asked to write your own! The first HTML element already present in your code editor (<h1>Hello World</h1> ) uses the h1 tag, check the others:

Code Effects
<h2> This is how an h2 heading looks like</h2>

This is how an h2 heading looks like

<h3> Followed by this h3 tag </h3>

Followed by this h3 tag

<h4> Look at the h4, the middle </h4>

Look at the h4, the middle

<h5> Here is a tiny h5 </h5>
Here is a tiny h5
<h6> The last - h6 </h6>
The last - h6
9 Likes

idont`t understand you

Hello @Mahmoudsayed. According to @camperbot,He simply means that HTML Heading elements are ranked based on their level of importance where h1 is most important while h6 is least important.

Note that h1 size will be bigger than h2 and the process repeats itself upto h6.

4 Likes

Simply put,just kindly look and compare your h1 and h2 elements after you finish your challenge.Do you spot any differences?

1 Like