CutCodeDown
Web Development => JavaScript => Topic started by: Gary-SC on 29 Dec 2021, 07:19:40 am
-
"Learn Resize Observer In 5 Minutes" (5:47)
https://www.youtube.com/watch?v=M2c37drnnOA
Do you think it is a good idea? Why or why not?
-
Do you think it is a good idea?
Why or why not?
- No >:(
- Resize Observer is an amazing tool in JavaScript
- The word "amazing" is standard advertising bullshit. ::)
- When you have to code, code, don't fuck about (https://www.youtube.com/watch?v=vKGmBYv09jQ) 8)
coothead
-
Hi there Gary-SC,
here is a simple CSS example...
Full Page View
https://codepen.io/coothead/full/LYzQWEX (https://codepen.io/coothead/full/LYzQWEX)
Editor View
https://codepen.io/coothead/pen/LYzQWEX (https://codepen.io/coothead/pen/LYzQWEX)
coothead
-
That he had the cojones to call scripttardery for layout "performant" alone should set off your bullshit alarm.
Good rule of thumb? If you HAVE to use Javascript to control your layout, you probably don't know how to use CSS to build layouts, or are doing the type of garbage that shouldn't be on a website -- or web app -- in the first place!
But then that his "really basic HTML" has the X-UA set to edge bullshit, a lack of media targets on the stylesheet, and he put blocking script in the HEAD really should tell you all you need to know about this kid's qualifications to even flap his yap about it.
And yes, kid, as in "Old movie? Christ Tony how old is this kid?"
-
Thank you all for your insights. I had a gut feeling that it was a BS idea, but I wanted to consult with others who know better.