In fairness the code is live-editable and so you can figure out what it means by changing it and seeing how the output differs. (mb means margin bottom).
document.body.style.marginTop = '200px'
The non-camel-case version works as well (in modern browsers, there was a time when browsers supported either one or the other): document.body.style['margin-top'] = '400px'I still don't know what `my` means.
- m = margin on all sides
- mt = margin top
- mb = margin bottom
- ml = margin left
- mr = margin right
- mx = margin on x axis (left & right)
- my = margin on y axis (top & bottom)