Your website is trash if you use picrel.
Simple as
Your website is trash if you use picrel
Other urls found in this thread:
stackoverflow.com
jsfiddle.net
twitter.com
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
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
oops i posted the wrong one again
>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
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
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