Message from JavaScript discussions

December 2018

β€” Yashodint

β€” 

There has been one capitalist superpower and counting china that equals to two superpower communist nations... thats chilling to count..dont you thinkπŸ˜‚πŸ˜‚

β€” Https://youtu.be/oe64p-QzhNE

β€” Hey guys, i wanna see the computed style of my timeline item element like this by doing console.log(window.getComputedStyle(parent, null).width);

Message permanent page

β€” It gives back 940px, which is not the value i expected

β€” I expected "6.45312px"

β€” Whuts happening to me

β€” When i do just console.log(window.getComputedStyle(parent, null), i can see the correct width πŸ™ˆ

β€” I thought pixel was an integer value

β€” Th ecomputedstyle gives an string, i solved it in a completley different, more efficient way

β€” Im checking the timeline scale if i show icons or not

β€” If you zoom 300% some page, then those float values will be relevant🀀 i prefer to use % for dimensions

Message permanent page