Your website is trash if you use picrel

Your website is trash if you use picrel.
Simple as

Attached: jquery.png (2200x1200, 95.33K)

Other urls found in this thread:

stackoverflow.com/questions/44295550/hiding-a-div-to-show-another-using-jquery
jsfiddle.net/fqskw1L2/1/
twitter.com/AnonBabble

Faggots calls thing trash. World moves on.

Or maybe it just tries to work on older browsers hon

It's not necessary anymore. There's absolutely no reason to use it except to save a few lines of code.

oops wrong pic

Attached: React-icon.svg.png (1024x890, 74.79K)

For me it’s apache

its about code readability
to implement same shit jquery offers in vanilla JS looks like an alien language to a seasoned JS dev

Actually if a site does not load it and I need it, I load it myself

Attached: Screenshot_2022-06-18_01-49-55.png (1494x247, 37.7K)

oops i posted the wrong one again

Attached: 352-3529769_html5-course-training-content-details-logo-html-5.jpg (820x279, 33.88K)

>noooooo you have to use jquery
>ewww jquery? you have to use coffeescript
>ewww coffeescript? you have to use orgnerng
>ewww orgnerng? you have to use baisnidn
>ewww baisnidn? you have to use cinqoerjtwew
>ewww cinqoerjtwew? you have to use boanirobneor

I wish JavaScript used jQuery syntax for dom tho.

Its just to make javascript neater. Quit being a baby.

Only street shitting poojeets use jQuery in 2022.

The new JS doesn't need to be "neater".
Vanilla JS is leagues ahead of jjMemeQuery.

Give me 1 (one) good reason why I shouldn't use all of these and make my life easier.

Only a brainlet would use React and jQuery together.

compare jquery
[cdoe]
$(document).keypress(function(e) {
if(e.which == 13) {
alert('You pressed Enter!');
}
});
[/code]
to javascript
var el = document.getElementById("myInputID");
el.addEventListener("keydown", function(event) {
if (event.key === "Enter") {
alert('You pressed Enter!');
}
});

And it gets worse as you add more keys etc...

that's deprecated jQuery. and it's not an equal comparison. you're doing two completely different things in the code.

for comparison
$('#myInputId').on('keydown', (e) => {
if (e.which === 13) {
alert('Enter pressed');
}
}

document.getElementById('myInputId').addEventListener('keydown', (e) => {
if (e.code === 'Enter') {
alert('Enter pressed');
}
});

Adding more keys doesn't change anything, you add them inside the already created block. the only difference is the verbosity of the function names. otherwise, jQuery is a layer of bloat on top of native functions. you can even fake jQuery in vanilla.
$ = (s) => document.querySelectorAll(s);
EventTarget.prototype.on = EventTarget.prototype.addEventListener;
$('.prettyprint')[0].on('click', () => alert('clicked codeblock!'));

Try doing this with vanilla javascript
stackoverflow.com/questions/44295550/hiding-a-div-to-show-another-using-jquery
With jquery you can do more with less and there is practically no performance difference.
$ = (s) => document.querySelectorAll(s);
EventTarget.prototype.on = EventTarget.prototype.addEventListener;
$('.prettyprint')[0].on('click', () => alert('clicked codeblock!'))

That looks even worse

but you still need to link a jquery file in your html files only for this, no?

its just a cdn

Lets go further. All text and static images on your site should, invariably, in all circumstances, load and be visible with no JS whatsoever.

you just want to browse websites on the terminal like a special snowflake

being able to do that is a necessary consequence of the website not being built in a pants-on-head retarded way.

>mixing presentation with code
>looks like shit when run.
learn to code ranjeet
jsfiddle.net/fqskw1L2/1/

jquery is breddy gomfy desu

also if you use only the very basic parts, there's many smaller drop-in replacements

also the react/node/vue/faggotry users are literally brain dead