Tell us what’s happening:
The challenge is calling: “Set the font-size of the h6 tag to 14px.”
The code is correct. The h6 line changes to 14px as commanded.
Any ideas on how to pass this simple challenge?
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_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15.
First try refreshing your page and running the tests again. If that does not work, try closing the browser, opening the challenge up again and run the tests. Lastly, make sure you are not using Internet Explorer or Edge browser, because some challenges do not work on them. Use Chrome instead, because it can take advantage of some of the newer JavaScript features used by the FCC site.
@teek I’ve run the same code on chrome and it’s working fine. All the test cases are passed. you should try it on chrome or reset the code and write it again.
Can you please help me with this?!
i had to put my edits inline to make the fonts the requested size and pass the challenge. What I mean is , I would like to know what you did to sort it out as it keeps happening to me with intermittent frequency.