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

Tell us what’s happening:
Although having a meta tag inserted, I still receive an error with the hint-message “Your code should have a meta tag.”

Part of the task was the following:
Within the head element, add a meta tag which sets the charset to UTF-8, and a title element with the value Rothko Painting.

Would appreciate it, if someone knows why this is so. Thanks!

Your code so far

<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

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

<!-- User Editable Region -->

</html>

Your browser information:

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

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

Link to the challenge:

Your code is OK.

Try the following:

  1. Restart step
  2. Refresh page (F5)
  3. Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.
  4. Change the browser
1 Like

Thank you, it worked! It was indeed an extension (Dark Reader).

1 Like

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