Great article. I loved reading Clean Code, it was full of gold tips.
Anyway, reading this piece of code:
const windowWidth = window.innerWidth / 2;
const windowHeight = window.innerHeight / 6 ;
I remembered the tip from Martin about using meaningful constants instead of raw literals because they're easy to search and give the developer a clear context.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.