At this point, you are probably thinking, now I have arrived at the hard part and I am going to get lost soon. I have good news for you! You are not going to get lost because you have already reached the end of this chapter.
We started with a brief overview of the features of a programming language. Next, we laid out what these are for JavaScript, while explaining why we need this language and how we are going to use it: to program webpages. To achieve that, we need an easy way to access all the elements in a webpage.
Well, we already learned how to access elements of a page in the previous chapter through the use of selectors.
jQuery, a popular and proven JavaScript library, is what we are going to use mostly for our client-side JavaScript. It lets you use CSS-style selectors to specify the elements we want to reach, even attach events to it, so we do not have to learn something new or/and have the size of this book approach that of War
and Peace
. jQuery has several other advantages...