Codepen - Why is there still a margin on the left?

Hi folks,

I just finished the first challenge on FreeCodeCamp, I just noticed something that I don’t understand and it would be cool if somebody could explain it to me.

Here is the thing : when I create a container there is automatically space on the left side of it, even if I put a margin of 0px and a width of 100vw.

I could reduce the space by using a negative value of the margin, but it just doesn’t make any sense to me that there is this space “naturally”.

Here is the example : https://codepen.io/EikichiOnizuka/pen/xxwVvvZ?editors=1100

Thank you in advance for you response!

The margin is on the body element (by default i think)
Try

body{
      margin: 0;
      padding: 0
}

or

* {
      margin: 0;
      padding: 0
    }

It was the body’s margin, thank you very much !