Regarding margins,
In this section mosh explains that the default margin for value for most moderen browsers is 16 px, in this screenshot he expaming how you an over ride this value by using margin CSS
Every CCS decelration i have wrteen in this course, and on my own has always ended with a semilcolon.
Why does this not, is it becausse the value is set to zero, and not an actual numberical value like 4?
Thank you in advance!
Technically you don’t have to add the last semicolon since it is the last rule in the rule set. Most (including myself) do add it because if you add another rule below that rule later and forget to add the semicolon on then you will get an error.
Makes it just one less thing to worry about when you always add it to the end of a rule
This does make scence, I often forget to add that semicolon after CSS decelerations, then I go to add more, it breaks.
Thank you for the answer, greatly appreciated!