May 2017
Intermediate to advanced
448 pages
10h 10m
English
There are three pieces to most examples of jQuery usage: the HTML document, CSS files to style it, and JavaScript files to act on it. For our first example, we'll use a page with a book excerpt that has a number of classes applied to portions of it. This page includes a reference to the latest version of the jQuery library, which we have downloaded, renamed jquery.js, and placed in our local project directory:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Through the Looking-Glass</title> <link rel="stylesheet" href="01.css"> <script src="jquery.js"></script> <script src="01.js"></script> </head> <body> <h1>Through the Looking-Glass</h1> <div class="author">by Lewis ...
Read now
Unlock full access