BONUS: JavaScript Libraries + Quiz

DUE Sunday, May 06 – 3 points
(Monday NOON deadline)

With JavaScript, dealing with differences between browsers is even more of a problem than it is in CSS. Your site might not look exactly right if there’s a CSS issue, but parts of it might not function at all if there’s a JavaScript issue. To combat this problem, developers have created some very smart libraries that provide consistency across browsers and speed up development time. This assignment provides a good introduction to the concept for those of you interested in writing JavaScript.

  • Interview with authors of  jQuery: Novice to Ninja (2:31-24:44)
    jQuery is by far the most popular generic JavaScript library in use today, and the authors of this book on jQuery recently appeared on the SitePoint podcast. The first part of the interview explains what jQuery is, how to use it, as well as some caution in using it. While the whole interview is worth listening to, the quiz questions will come from the segment listed above.

Once you have listened to this material, you will need to take a quiz of ten true-false questions. (These questions will be randomly selected from the questions below. You can retake the quiz up to five times. Don’t stress about getting 100% on these quizzes: if you get 80% or better, you will be ready to proceed to the next activity and I will give you full credit.)

All questions should be prefaced with an understood, “According to the author of the material … “:

  1. T/F? jQuery was created by John Resig.
  2. T/F? The two main functions of jQuery are validation forms and connecting to databases.
  3. T/F? jQuery uses CSS selectors, so it is easier for designers and other non-classic developers to get access to the features of JavaScript.
  4. T/F? jQuery is inarguably the fastest generic JavaScript library.
  5. T/F? The two authors recommend you learn JavaScript very well before looking at jQuery.
  6. T/F? jQuery provides an architecture for developers to build plugins.
  7. T/F? The jQuery source code is very ugly and hard to read because it is optimized for speed.
  8. T/F? It is possible to write really bad JavaScript code, even with jQuery.
  9. T/F? Developers are increasingly writing jQuery plugins where they previously would have written a specific JavaScript library.
  10. T/F? If writing a given selector in JavaScript would take a long time, chances are jQuery will be slow to execute the same selector.

DUE Sunday, May 06 – 3 points
(Monday NOON deadline)