Can't see the bug

I don’t see my bug yet. I’ve looked at my code and watched the video and can’t seem to find the problem. It says, " Your code should set the font-size property for the h1 tag to 68 pixels." and so on for the other tags.

<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>

This is h1 text

This is h2 text

This is h3 text

This is h4 text

This is h5 text
This is h6 text

Hi @trinitytendo1 !
Please give full code and challenge. It will help finding the bug.

@trinitytendo1

I’ve edited your post for readability. 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 (’).

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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.

1 Like

Thank you, I had the same trouble. I disabled the adblocker and that allowed me to continue

1 Like

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