Week 10 assignments: Starting jQuery

Spring Break falls between this week (Week 8) and our next class meeting. By Monday, March 10, you should complete the benchmark listed in the Course Schedule for Week 10. We will have normal individual meetings on March 11, 12 and 13 — and you will show your work as usual.

The jQuery assignments are in a new place: Code School. They have a pay-per-month model for offering courses — but the first jQuery course is 100 percent free. The courses at Code School are different from those at Codecademy in many ways. In particular, you will need to watch a video before doing the interactive exercises. You will need to write notes from the video, because you cannot really memorize this stuff just by seeing it once.

Check your JavaScript know-how

Important note: jQuery is JavaScript. If you neglected any part of the Codecademy JavaScript lessons (benchmark for Week 8), you need to catch up. Seriously. We use jQuery to make Web pages dynamic and interactive, and none if it will make sense to you if you did not practice and learn your JavaScript basics.

jQuery also uses the DOM, which can seem confusing if you have not taken some time to try to understand it. This introduction to the DOM has good diagrams to explain the concept. (See also the link to the PowerPoint, in the Course Schedule.) In particular, you need to understand the concepts of nodes and children. You don’t need to spend too much time on the notation, such as:

document.getElementById('hereweare').firstChild.nodeValue

You’ll be happy to know that jQuery does most of that notation for you. Nevertheless, you need to understand the way an HTML document works as a structure — as a kind of tree, with branches — so that you can use jQuery without getting confused.

Post examples for extra credit

I am surprised that not many students have posted examples to get extra points, as explained on the Required Work page. Please consider starting to post examples now. You still have time to get one of these points. Five examples must be posted in five different weeks to earn one point.

Advertisements