Solution isn't passing

Tell us what’s happening:

The solution is right but isn’t passing.

Your code so far


<style>
h1 {
  font-size: 68px;
font-weight: 800px;
}
h2 {
  font-size: 52px;
font-weight: 600px;
}
h3 {
  font-size: 40px;
font-weight: 500px;
}
h4 {
  font-size: 32px;
font-weight: 400px;
}
h5 {
  font-size: 21px;
font-weight:300px;
}
h6 {
  font-size: 14px;
font-weight: 200px;
}
</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/83.0.4103.116 Safari/537.36.

Challenge: Set the font-weight for Multiple Heading Elements

Link to the challenge:

1 Like

hey there, i checked out your code and you are failing because the font-weight doesnt take a px, try removing them and see if you pass

1 Like

yeah, thanks for the concern.
I just did that few moment ago realizing ownself.

2 Likes

thats cool, Happy coding