I am supposed to change h6 to 14 pixels. h1-h5 are passing the test but h6 is not
h1{font-size:68px;}
h2{font-size:52px;}
h3{font-size:40px;}
h4{font-size:32px;}
h5{font-size:21px;}
h6{font-size:14px;}
`
``html
h1{font-size:68px;}
h2{font-size:52px;}
h3{font-size:40px;}
h4{font-size:32px;}
h5{font-size:21px;}
h6{font-size:14px;}
This is h1 text
This is h2 text
This is h3 text
This is h4 text
This is h5 text
This is h6 text
**Your browser information:**
User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36</code>.
**Challenge:** Set the font-size for Multiple Heading Elements
**Link to the challenge:**
https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/set-the-font-size-for-multiple-heading-elements
<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>
So if you reset your code and copy paste this in it wont work? I copy pasted your code and it worked for me.
1 Like
yakkya:
h1{font-size:68px;} h2{font-size:52px;} h3{font-size:40px;} h4{font-size:32px;} h5{font-size:21px;} h6{font-size:14px;} This is h1 text This is h2 text This is h3 text This is h4 text This is h5 text This is h6 text
Nope. I just tried and it still said h6 isn’t right.
1 Like
Try disabling ad-block or other plugins, and if that doesn’t work you could try switching browsers
i switched to firefox and it worked. thanks so much!
1 Like