Error "Your code should set the font-size property for the h6 tag to 14 pixels."

In the Responsive Web Design section, in the “Applied Visual Design: Set the font-size for Multiple Heading Elements”, I keep getting this error: “Your code should set the font-size property for the h6 tag to 14 pixels.” I don’t see any errors. Am I wrong? Here is my code:
(Here are the Instructions:

  • Set the font-size of the h1 tag to 68px.
  • Set the font-size of the h2 tag to 52px.
  • Set the font-size of the h3 tag to 40px.
  • Set the font-size of the h4 tag to 32px.
  • Set the font-size of the h5 tag to 21px.
  • Set the font-size of the h6 tag to 14px.)

h1 {
font-size: 68px;
}

h2 {
font-size: 52px;
}

h3 {
font-size: 40px;
}

h4 {
font-size: 32px;
}

h5 {
font-size: 21px;
}

h6 {
font-size: 14px;
}

Your code works for me. Make sure not to change anything else. Try “Reset All Code” button and try it again fresh. If that doesn’t work, sometimes the browsers get a little wonky with these. Reboot or clear the browser cache or try a different browser.

Also, in the future, use the “Ask for help” button - it shows us exactly what code you’ve tried and gives us a link to the project - it makes it easier to help you.

It worked when I used a different computer. Thanks for your response!

For all you not so eagle-eyed students
I had the same issue. tried several browsers.
But because in both browsers I had specified a big minimum font-size the validation didn’t work.
After adjusting the minimum font-size I got through.

2 Likes