Personality/'Buzzfeed-style' Quizes

What is the best way to construct a quiz via jQuery/Ajax that would let you click on a few questions with the choices displayed as images and then the result is shown at the bottom of the page? Very similar to Buzzfeed-style quizes. Does anyone have any sample code?