Giving false error

Tell us what’s happening:

I have done the exercise correctly but it says: Your code should set the

font-size

property for the

h6

tag to 14 pixels.

Your code so far


<style>






</style>
<h1 style="font-size: 68px;">This is h1 text</h1>
<h2 style="font-size: 52px;">This is h2 text</h2>
<h3 style="font-size: 40px;">This is h3 text</h3>
<h4 style="font-size: 32px;">This is h4 text</h4>
<h5 style="font-size: 21px;">This is h5 text</h5>
<h6 style="font-size: 14px;">This is h6 text</h6>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.63 Safari/537.36.

Challenge: Set the font-size for Multiple Heading Elements

Link to the challenge:

you should not use inline styling for this challenge…

use css selectors in the style tags

1 Like

See also https://www.freecodecamp.org/learn/responsive-web-design/basic-css/change-the-font-size-of-an-element