I am getting an error while transpiling sass to css, "Line X: Inconsistent indentation: Y spaces were used for indentation, but the rest of the document was indented !Y spaces"
Here is the error state of my sass code:
header
{
margin: 50px;
background-color: #2aa4df;
div
{
}
p
{
margin-top: 0;
}
}
As you can see, near the p style rule I have used a different indentation which produces the error. What I'm wanting to know is why indention is important from a compiler perspective