Learn Intermediate CSS by Building a Cat Painting - Step 1

Tell us what’s happening:

Describe your issue in detail here.

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>fCC Cat Painting</title>
    <link rel="stylesheet" href="./styles.css">
</head>
<body>
    <main>
      <div class="cat-head"></div>
    </main>
</body>
</html>

<!-- User Editable Region -->

Your browser information:

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

Challenge Information:

Learn Intermediate CSS by Building a Cat Painting - Step 1

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Welcome to the forum @divyansharma26018

You have added code not asked for in the instructions, so the tests are failing.

Please enter only the code required in the instructions.

Happy coding

My apologies for that my problem with the code is that it says that the body element should come after the head which I have done in my code but no matter how many times I run it, it is giving me the same error over and over again.

1 Like

Hello and Welcome!

Only the basic information from the instructions should be entered to pass this step.

You have much more included which is why it is failing the test.

Wishing you good progress!

Please reset the step to restore the original code and try again.

1 Like

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