Set the font-size for Multiple Heading Elements - help!

Set the font-size for Multiple Heading Elements - help!
0.0 0

#1

Tell us what’s happening:
My code is right, but the test results keep saying that “Your code should set the font-size property for the h6 tag to 14 pixels.”
I already set the font-size property for the h6 tag to 14 pixels, as you can see below.

Your code so far


<style>
 h1{
   font-size: 68px;
   }
 h2{
   font-size: 52px;
   }
 h3{
   font-size: 40px;
   }
 h4{
   font-size: 32px;
   }
 h5{
   font-size: 21px;
   }
h6{
   font-size: 14px;
   }

 

 
</style>
<h1>This is h1 text</h1>
<h2>This is h2 text</h2>
<h3>This is h3 text</h3>
<h4>This is h4 text</h4>
<h5>This is h5 text</h5>
<h6>This is h6 text</h6>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/set-the-font-size-for-multiple-heading-elements


#2

I tried running your code.

It passed the test.


#3

Thanks for trying. I solved the problem by trying with different internet browser. I tried with Safari instead of Chrome.


#4

Cool. Maybe your Chrome needs an update or something.

I tried to run it in both Mozilla and Chrome and it worked fine. Cheers!