News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by ffhhj on Sunday May 16, 2021 @12:07AM (#27171148)
Don't bother with frameworks, write plain HTML+JS+CSS and use jQuery.
Re:Modern Javascript: Everything you missed over the last 10... by neycoda on Sunday May 16, 2021 @12:33AM (#27171253)
HTML then CSS then JavaScript. I've taught all three and people struggle more in a different order. HTML is the skeletal architecture, CSS is just styling, then JavaScript is behavior. Those three things in that order are like orders of "need". You need HTML first to have a webpage structure, then styling to make it easy to understand its elements, then the behavior is more complex than both. I don't know why I see people put JS learning before CSS... JS is much more complex than CSS, and a much different change in paradigm from HTML than CSS is.
Re:Modern Javascript: Everything you missed over the last 10... by DrSiemer on Sunday May 16, 2021 @04:21AM (#27172114)
What exactly do you still use or need jQuery for?
Re:Modern Javascript: Everything you missed over the last 10... by ffhhj on Sunday May 16, 2021 @11:20AM (#27174270)
It's mostly a wrapper of JS functions that takes care of compatibility, and makes code more readable.
Re:Modern Javascript: Everything you missed over the last 10... by buchanaf on Sunday May 16, 2021 @03:00PM (#27176076)
Compatibility isn't really a consideration nowadays.
Re:Modern Javascript: Everything you missed over the last 10... by PedroBatista on Sunday May 16, 2021 @08:15AM (#27173147)
I like the API.
Re:Modern Javascript: Everything you missed over the last 10... by atatatat on Sunday May 16, 2021 @01:57PM (#27175602)
HTMX anyone?