A simple quiz engine written in Javascript