Is there a reason this isn't working?

Doing a simple task of ’ Set the font-size for Multiple Heading Elements
but no matter what I do it’s telling me it is wrong. The preview shows up correctly but it says it isn’t right. I even copied and pasted the answer but to noavail.

  **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_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

Challenge: Set the font-size for Multiple Heading Elements

Link to the challenge:

What am I doing wrong?

Your code passes the test in my end.

You could check if any addOn/plugin is interfering by putting: about:addons in the browser url bar and seeing what do you have installed. You can turn them off and retry sending the answer.

What is the error you’re seeing? What does it show?

@techtom

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

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