Font-weight for Multiple Heading Elements

What is your hint or solution suggestion?

h1 {
font-weight: 100;
h2 {
font-weight: 80;

continue to adjust the font-weight to the different heading elements.

Challenge: Set the font-weight for Multiple Heading Elements

Link to the challenge:

Yup keep going and apply font weight according what font weight they tell you apply.

1 Like

Heres the solution

  h1 {
    font-size: 68px;

  h2 {
    font-size: 52px;

  h3 {
    font-size: 40px;
  h4 {
    font-size: 32px;
  h5 {
    font-size: 21px;
  h6 {
    font-size: 14px;
<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>

1 Like

Welcome there.

Thank you, for your contribution. For future contributions, please wrap your solution within :

code goes here...

Also, provide all of the necessary code to pass the challenge.

Also, when you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).