Code not working for me help pt2

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

i put the correct code again and its not passing me.

  **Your code so far**

<style>
div {
  background-color: blue;
  height: 100px;
  width: 100px;
    margin: auto;

}
</style>
<div></div>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 12239.92.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.136 Safari/537.36

Challenge: Center an Element Horizontally Using the margin Property

Link to the challenge:

Have you tried a different browser?
Clearing the browser cache?
Possibly disabling any Ad-Blocker?

1 Like

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.

1 Like

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