Problems with Challange (font-size for Multiple Heading Elements)

Tell us what’s happening:
Describe your issue in detail here.
I’ve added my code correct (i think) but if i run the test is fails.

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: 21px;
}
</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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge: Set the font-size for Multiple Heading Elements

Link to the challenge:

Hi @nvandendries1984 ,

The font size for h6 tag should be 14px.

On running the tests, the error message is displayed in the section below your code.

Hope this helps.

1 Like

yes, i changed the value, but still all the tests fail :man_shrugging:t2:

// running tests
Your code should set the font-size property for the h1 tag to 68 pixels.
Your code should set the font-size property for the h2 tag to 52 pixels.
Your code should set the font-size property for the h3 tag to 40 pixels.
Your code should set the font-size property for the h4 tag to 32 pixels.
Your code should set the font-size property for the h5 tag to 21 pixels.
Your code should set the font-size property for the h6 tag to 14 pixels.
// tests completed

sometimes you just have to reset the test and try again. Other than the mentions h6 selector though I don’t see a problem

That’s exactly what I’ve done several times, but didn’t help, I also cleared my browser cache and tried again.

I have run into that with one or two challenges over the last couple years. Only work around I found was going in with a different browser. Not sure why that worked but might give that a try.

1 Like

i used firefox and indeed that worked, so must be an issue with Chrome.
Thx for the help.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.