CSCI 011

Assignment 2b

Assignment 2b: Introduction to JavaScript (part 2)

Now that you've explored JavaScript a bit, you'll learn about jQuery and the various shortcuts and nice syntax it provides to make JavaScript programming a bit easier. You'll also complete a short exercise that you'll demonstrate to me in lab tomorrow.

Obtaining jQuery

Before doing anything else, you'll need to copy the jQuery library. The full path to the file on the unix machines is /home/faculty/andrea/shared/cs11/jquery-1.10.2.min.js (You might as well have your own copy, so that you can use it whenever and wherever you'd like.)

In the header part of the html file in which you're using jQuery, you'll want to include the following line:

<script src="jquery-1.10.2.min.js"></script>

Make sure that the path to jQuery is correct. The line above assumes it's in the same directory (folder) as the html file.

Learning about jQuery

Information about jQuery can be found at jquery.com. You'll find the API Documentation especially helpful.

Your JavaScript and jQuery Tasks

For this assignment, you are to add three types of functionality to either your own website or to the Black Goose Bistro website from last week's tutorial.

Add a series of images that fade in and out of a page, as demonstrated in class.
The other two types of new functionality are up to you.