Simple flashcards using JQuery
Monday, December 10th, 2007I wanted to create some flashcards for my Jesus and the Gospels class, where the final exam involves being given a large number of fill-in-the-blank questions. I also wanted to try out JQuery, a lightweight Javascript toolkit that has fascinated me for a while. The result is quite impressive for very little work.
To add items to the flashcards, you mark up text that looks like this:
How now brown cow?
So that it looks like this:
<p>How now <span class=”words”>brown</span> cow?</p>
I inlined the JQuery 1.2.1 library, wrote a tiny bit of glue to make things look good, and the result can be downloaded here: BI190 Flashcards using JQuery.


