**Set the font-size for Multiple Heading Elements**

Set the font-size for Multiple Heading Elements

I have given the styles as follow but when I run the Test it still throws the same error to styly h1 through h6 the given pixels, I don’t know why its not passing the test. any help


<style>
<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Challenge: Set the font-size for Multiple Heading Elements

Link to the challenge:

You seem to have created an extra style tag at the top, remove 1 of them and see if that helps. If not then you likely have add blockers or dark modes enabled in your browser which can affect the tests.

1 Like

thanks I found the issue, It was because of adblocker so I disabled it, and it went fine.

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