I recently took a quiz on web development and got one question wrong. I am confused as to why the correct answer is 10. Can someone please explain?
My calculation was that it should be 15px because there is a 10px margin-bottom for element one, and a 5px margin-top for element two.
So, 10px + 5px = 15px, right? But the correct answer given is just 10px and I'm not sure why.
I initially answered 15px but that was marked incorrect. Any insight would be appreciated.