CS 175/286 - Homework 6

In this assignment, you will use JQuery Mobile to replicate homework 3 with an HTML 5 application. For your convenience, the quiz data are available here in JSON format. Read the quiz with the getJSON method.

You will need to programmatically generate the lists. Here is some sample code to get you started:

labels = ["Fred", "Barney", "Wilma"]
var choices = $('#choices')
$(labels).each(function(_, v) {
  var item = $('<li/>')
  var link = $('<a/>').html(v)
  link.click(function() { alert(v) })

Put hw06.html and any other files you need into the workspace/hw06 directory of your repo.

Put report.txt into the workspace/hw06 directory. Describe which websites you visited for help, and which problems they helped you solve. Describe at least two such problems. Extra points if you asked a question somewhere. If so, include the URLs where I can see your questions in the report.