Problem with an ' Applied Visual Design' chapter

Tell us what’s happening:
Describe your issue in detail here.

Hello to everybody. Substantially, when I clicking on the ‘Run the tests’ button, the application still gives me the following errors:

// running tests

Your code should set the font-size property for the h1 tag to 68 pixels.

Your code should set the font-size property for the h2 tag to 52 pixels.

Your code should set the font-size property for the h3 tag to 40 pixels.

Your code should set the font-size property for the h4 tag to 32 pixels.

Your code should set the font-size property for the h5 tag to 21 pixels.

Your code should set the font-size property for the h6 tag to 14 pixels.

// tests completed

Can someone help me?

Note: The result is correct…I’m more than sure it is 'cause I’ve checked the result in doubt.

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

Hi @gabrielenapoli92 !

Welcome to the forum!

We need to see your code.

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 it is correct, we still need to test your code on our end so we can say for sure there is an issue with your browser.

Good Morning @jwilkins.oboe, I copy and paste here the code:

\The code starts

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

\\The code finish at this point

Thank you very much in advance for your help.

Ok cool.

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.

I was able to pass the test with an up to date chrome browser without extensions.

ok, you’re right. I’d disabled the ‘ad block’ application on my browser LOL :sweat_smile: .

Thank you again for your help.
See yoo and have a nice day! :wave:t2:

1 Like

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