Introduction to jQuery

jQuery is a single Javascript file consisting of ready-made functions designed to make it easy to manipulate an HTML document on the fly, meaning we can easily change styles, make things disappear or reappear, move around fade in and out and a host of other effects. It is an extension of Javascript specially designed to work in conjunction with styles, such as those we set up in our stylesheet, ‘style.css’.

In this chapter we look at the basics of jQuery in short, simple scripts before putting it into practice in our project in the next chapter.