> >el.style.color
is not equivalent with .css()
How is it not equivalent? Please be specific.
> In my use case jQuery is the best tool and I am not sure why you need to contradict someone with daily experience
Dude, you're the the one who challenged me, and suggested I was lying or uninformed. jQuery is fine to use, I totally understand someone who wants to leverage their background in it. By the way, I also have daily experience, used jQuery for 10 years, am a senior frontend dev.
But it's misleading to new developers to claim that modern JS doesn't have the same capacities. Making this claim spreads misinformation.
> is so hard to admit that the API is nicer,
Disagree. It's more or less the same. I get you're used to one, but there's not a huge difference between the two.
> that it fixes browser differences ?
Yes, it fixes old browser differences, and I made that point repeatedly elsewhere in the thread. For production apps (apps, not sites), if someone is stupid enough to avoid using a framework like Vue.js or React, and you're targeting browsers going back a decade in time, then it's wise to use jQuery. jQuery is also good for progressive enhancement on brochureware sites if you have to support very old browsers (for those kinds of static sites, no need for a JS framework).
But none of that applies to the discussion we were having. The discussion was about quick prototyping.
> Do you lose some points or pride or other ego related stuff? Do you think you win some credit when you find a typo and use that to attack me? Can you explain what is happening in your mind when you type this ?
Sure. Mostly, I'm annoyed at being corrected about jQuery by someone who can't even bother to spell "jQuery" correctly. I speak several languages, and make an effort to use them correctly. Also, language mastery is irrelevant: it's frankly surprising to meet a developer who has such trouble with basic syntax issues.
All the criticisms you threw up in that last paragraph, also apply to you. Do you even realize that? You're the one challenging my perspective. I'm defending it.
Also, in terms of cherrypicking, I'm using the example you chose. So if anyone is cherrypicking here, it's you.