Step 2 Rothko Painting

Why will the meta tag fail to pass here?

 <head>
    <title>Rothko Painting</title>
    <meta charset="UTF-8" />
  </head>
  <body>
    <img src="https://cdn.freecodecamp.org/curriculum/css-box-model/diagram-1.png"
  </body>

we need to have a link to the step you are on
and we need to see your code (otherwise we are just guessing what is wrong)

Thanks for the reply. Here is the link: https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-the-css-box-model-by-building-a-rothko-painting/step-2

I’ve edited your code 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 (').

you have not formed your img tag correctly.
All html tags must end with a >

Noted. Will take that into account.

I have added the img closing tag. The hint i am getting is " Your code should have a meta tag."

can I see your latest attempt?
(the one above has a missing > as I mentioned)

Sure.

 <head>
    <title>Rothko Painting</title>
    <meta charset="UTF-8" />
  </head>
  <body>
    <img src="https://cdn.freecodecamp.org/curriculum/css-box-model/diagram-1.png">
  </body>

Can you please post your code? All you have is a formatted image. Thanks!

I’ve edited your code 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 (').

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL-F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Thank you very much! Disabling the Dark Reader (Dark Mode) did the trick/

1 Like

Thanks for your input. I have been sent a solution.

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