+ 11
😮doubt
is learning jquery must for a professional web designier as it is js library is there anything extra in jQuery than js
5 Réponses
+ 6
.....
The extra:
function,number,string,HtmlElement can be converted into jQuery object
//$("text").someFunction();$("div").someFunction();$(function(){})
However I have reasons to avoid jQuery
1.jQuery make web page slower
It's true bc in my mobile it take 1.5 minutes to fully loaded
2.$(document).ready() & $(window).ready()
Sometimes it's not worked
3.Not support for IE8
jQuery selector not support for IE8 or older browser
More reason/explaination in here
https://modernweb.com/5-things-you-should-stop-doing-with-jquery/
So I don't like to use it bc
It's not support for my Mom's office
+ 9
thankyou for your opinions ☺
+ 3
Yes there is obviously some extra things. like :
1. the $ sign.
2. easy selection :
$(".my-tag") instead of document.getElementsByClassName("my-tag")
+ 2
it is a good tool to develop faster and have code easier to maintain.
There is great benefit to also understanding the underlying native js though.