Center Element Code not working

My code appears to be right yet I am unable to run the test successfully. Can someone let me know what I appear to be doing wrong?

  **Your code so far**

div {
  background-color: blue;
  height: 100px;
  width: 100px;
  margin: auto;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15

Challenge: Center an Element Horizontally Using the margin Property

Link to the challenge:

Your code passes for me.

The issue may be that you have an extension that interferes.

You may have an outdated or incompatible browser.

You may need to clear your browser cache.

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