+ 1
is it worth converting the pure JavaScript code to jQuery? Why?
I know that jQuery itself says "write less, do more", but is it possible to convert all the JavaScript elements to a jQuery code? Explain me the advantages of doing that
1 Antwort
+ 4
If your project isn't terribly large and you want to learn to use jquery, then by all means, do it.
jquery reduces the amount of code you have to write. It's still Javascript under the hood, but it was created so that you don't have to spend so much time targeting elements with long statements. Without going into a great lengthy description, lets just say that you'll get your work done faster.