As a developer who has become proficient in HTML and CSS, is it safe to start using jQuery plugins instead of learning javascript? I'm not a programmer

I have mastered, for the most part, my projects and coding them as soon as I read web pages. I want to go to the next level. I used some jquery plugin and pretty easy to figure them out with a bit of trial and error. I also started reading a book in Java script, but it seems to me that I will never need it, since I do not plan to REALLY write my own code. I do not think so at least soon. Is it safe for me to just learn a lot of jQuery plugin applications, or while I'm really trying to learn a java script to write my own code. I bought the book "Headfirst Javascript", but it has a lot of basics where jquery plugins give me results quickly, I can use it! Any advice?

+4
source share
3 answers

jQuery is like any abstraction: you can use it without understanding what it does under the hood, but don't be surprised if you run into problems because of this understanding. Also, you cannot do jQuery only without doing any Javascript at all. For instance:

  • User redirection;
  • Page reload;
  • The contextual meaning of 'this'.

These are all important and common things in the jQuery world, but they are pure Javascript.

So, in general, I would recommend having at least a rudimentary knowledge of the syntax and functionality of DOM and Javascript before doing jQuery.

+8
source

Learn JavaScript. Learn the DOM.

jQuery is good, but if you don't know JavaScript and the DOM, it won't help.

$(function() { /* JavaScript goes here */ }); 

jQuery does three things well: it allows developers to use the CSS selector to control the DOM, it smooths the rough edges of cross-browser programming, and it offers a lot of great plugins.

I recommend Douglas Crockford's "JavaScript: Good Details." It is full of good tips on how to write good JavaScript, and it has an insightful roadmap to avoid the mistakes and mistakes of bad JavaScript. Perhaps most importantly, it is short enough that you can read and digest in a few days (or hours if you read quickly).

+1
source

I started with jquery and then bought some books in classic javascript (e.g. jony resig, jquery programmer!)

I thought javascript is hard to learn and with jquery you will learn what can be done with javascript! Then with books you will understand the insides of jquery. good luck

Also, if you need to choose between prototype and jquery, select jquery, I used the prototype for 4 months and did not recognize any javascript function.

Then, in just 1 week of javascript, I knew that setTimeout was used to

Just an example showing jquery to help you learn javascript from time to time

0
source

All Articles