官术网_书友最值得收藏!

Chapter 1. Designing a Simple Quiz Application

To begin with, we will design a simple quiz application where users have to match country names to their corresponding capital names by dragging a country name over its correct capital. A correct match will result in one point, and drag and drop will be disabled for both the country and its capital.

The display will contain two columns, the first one will have country names and the second one will have the names of the capitals of those countries. Both the columns will be shuffled randomly. Once the user has matched all the names successfully, a modal dialog will appear. Users will also be given the option to reset the quiz. Resetting will restart the game and shuffle the lists again.

主站蜘蛛池模板: 运城市| 漠河县| 永靖县| 那曲县| 台江县| 滦南县| 鹤岗市| 凤冈县| 南宫市| 兰坪| 林甸县| 辽阳县| 稷山县| 通化县| 辰溪县| 荔波县| 石首市| 德州市| 阳江市| 西乌珠穆沁旗| 尼玛县| 紫阳县| 宁明县| 临江市| 隆化县| 兴业县| 鄂托克旗| 且末县| 新余市| 深水埗区| 志丹县| 东辽县| 涪陵区| 龙井市| 修水县| 泸西县| 蚌埠市| 仁寿县| 尖扎县| 忻州市| 长岛县|