My Code not working

I am stuck on what I am doing wrong. I get an error message when I enter the code below. I’ve tried everything from deleting spaces to adding spaces… Can anyone help me troubleshoot/point out the mistake causing this sub-course to not be accepted as right?

   **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_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15

Challenge: Set the font-size for Multiple Heading Elements

Link to the challenge:

This code is not have any error You act well for the instructions.

Hi @rstewart
I’ve checked your code and it works fine. Maybe refresh your browser or try using a different browser if the problem persists.
Happy coding!

Used a different browser and it worked, thank you!

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