JavaScript for Beginners revised
I taught my JavaScript class again last week, and I have finally completely revised the JavaScript for Beginners tutorial. The new version is much more focussed, and it provides a resources file that includes some HTML starting points as well as the document graphics. Yes, the new version even has one or two images in it.
The only tutorial that was kept was the image gallery, and it’s been heavily modified. The new version is broken into three sections, designed for use in a short class.
The first tutorial takes a look at intercepting click events so as to treat some links different from other links. Along the way, it takes a look at strings, objects, and events.
The second tutorial creates an image gallery and slide show. It covers finding elements on the page, lists of items, and timers.
The third tutorial looks at controlling forms, and covers required entry, changing entries dynamically, Date objects, and remembering selections via cookies.
- JavaScript for Beginners
- Basic JavaScript to enhance your viewers’ reading experience.
- JavaScript for Beginners (full PDF)
- PDF version of JavaScript for Beginners
More JavaScript
- Catalina vs. Mojave for Scripters
- More detail about the issues I ran into updating the scripts from 42 Astounding Scripts for Catalina.
- Why I still use RSS
- I still use RSS because connections regularly fail, especially to Twitter.
- Converting HTML lists to text on the fly
- Switching to using lists to display code was a compromise between readability and copyability. Now that I’m creating the lists on the fly, it is easy to add features that reduce the side effects of this compromise.
- JavaScript for Beginners update
- The JavaScript tutorial has been updated by introducing loops earlier, and in the first section.
- Webmaster in a Nutshell
- Without doubt the best reference work for webmasters that you’ll find. It contains the “reference” part of most of O’Reilly’s web-relevant nutshell books. You can find references for HTML 3.2, the CGI standard, JavaScript, Cascading Style Sheets, PHP, the HTTP 1.1 protocol, and configuration statements and server-side includes for the Apache/NCSA webservers.
- One more page with the topic JavaScript, and other related pages
More tutorials
- Django tutorial mostly ready
- My long-promised Django tutorial is pretty much ready. It’s still designed around an in-person tutorial, but you should be able to get started using it even if you’re on your own.
- Invariant sections to disappear from the FDL?
- The Free Software Foundation is revisiting the GNU Free Documentation License. Hopefully, they’ll fix the problem of invariant sections in otherwise open documents.
- Perls before Swine Perl tutorial
- I’ve completely revamped my Perl tutorial, and explicitly released it under the Gnu FDL. This tutorial starts from a simple filter that does nothing but echo to the terminal window, and ends with the ability to split data according to fields and import data into a SQLite database.
- Persistence of Vision tutorial
- A step-by-step tutorial, available under the Gnu Free Documentation License, on using the Persistence of Vision raytracer.
- JavaScript for Beginners update
- The JavaScript tutorial has been updated by introducing loops earlier, and in the first section.
- Two more pages with the topic tutorials, and other related pages
If you subscribe to the Mimsy RSS feed, you probably already have the tutorial’s PDF in your feed reader.