Learn the CSS Box Model by Building a Rothko Painting - Step 2

Tell us what’s happening:
My code isn’t false, why they keep telling me that the meta tag isn’t here ?

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>Rothko Painting</title>
</head>
<body>
  <img src="https://cdn.freecodecamp.org/curriculum/css-box-model/diagram-1.png" />
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54

Challenge: Learn the CSS Box Model by Building a Rothko Painting - Step 2

Link to the challenge:

Try removing the extra space here and the forward slash.

You probably forgot <meta name="viewport", content="width=device-width, initial-scale=1.0"

It doesn’t work, they don’t detect the meta tag

They didn’t ask me to do that so I don’t think that’s the problem

Can you post your most recent code?

the code is already written in the first message.

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

I pasted your code into the challenge and it passed no problems. Can you reset the code and paste what you posted here and it might work?

1 Like

sometimes freecodecamp doesn’t work properly in some exercises on some browsers. Try using chrome if you aren’t already.

1 Like

It worked when I pasted it, weird but thanks !

2 Likes