https://dev.to/sprite421/checking-the-dimensions-of-an-html-element-in-vanilla-javascript-3kpnAbbas AbdulmalikNov 30, 2020