Can someone shed a tiny bit of light on what is happening here?
Looking at the console I see three apparently incompatible numbers: on the same element temp0 (the highlighted one in the console, location pointed by the arrow, it's an asterisk), if I check style.top I get a value, inspecting the inline CSS a second one, and through getBoundingClientRect.top a third. What am I missing, or what could be the cause of something like this?
The structure of the html from top to bottom is: a couple of navbars, a div that takes up 30% of the viewport height, a second div that uses the remaining ~70%, organized in three columns through bootstrap 4.5 (size 1-10-1).
The background is: I lost count of how many questions and articles have been reading trying to solve what looks like a silly alignment bug that keeps popping out in my code.
Tonight I thought I had found something definitive in this function and detailed article, yet another two hours disappeared to no avail. When I saw the results of these three commands in the console I realized I needed help :P I would really appreciate any hint on what I am missing.
