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:
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.

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


#2

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.


#3

Use the ‘Reset all code’ button, once done type in the code again and then run the tests.
Hope this helps :slight_smile:


#4

@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.


#5

Issue resolved. Thank you.


#6

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.


#7

got it . i kept putting .h1 as head id
thanks