Three divs placed side by side

why the 45px bottom margin ?

This is why.
margin: 0 0 45px 0;

And I updated that javascript part as you suggested.

I found and listed in there 8 different ways it could be written.

4 ways forEach
4 ways for…of