Now, I've read the w3schools' JavaScript tutorial, and I completed all of the little examples successfully, but I still couldn't think of a way to implement stuff I wanted to implement. Part of this has to do with the fact that so far, I haven't WANTED to implement any JavaScript aside from some menus and some automatically rotating images. I found code to do that before I'd even read the tutorial.
Part of it also has to do with the fact that I think in sentences, and this guide seems to recognize that that's a pretty common way to think. The first chapter alone has been really helpful in helping me understand the different parts of a JavaScript "sentence" and helped me realize that the punctuation in JavaScript isn't really punctuation - it actually tells you a lot about what part of the sentence you're looking at.
As a for instance, say you have this line in your JavaScript:
document.link.color = "blue";The period is a lot like an apostrophe s - it shows ownership, so you have the document's link's color. We know that color is a property, not because it comes last in this series, but because of the treatment of blue. We have an equal sign followed by blue in quotation marks. That means color is a property of link, which means the value can be thought of as an adjective or quantifier. A different set of marks might indicate that color is a method (think verbs) rather than a property (though I don't think there are any methods called color in JavaScript).
All in all, the first chapter alone has been worth reading, and I'm looking forward to going through more of the book.
Until tomorrow or the day after or whenever you next see me, don't laugh so hard the milk spews out your nose. That hurts.





