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

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.

主站蜘蛛池模板: 雷波县| 湖北省| 南宁市| 濉溪县| 山丹县| 绥芬河市| 宝山区| 内丘县| 景洪市| 卓尼县| 许昌县| 甘肃省| 安远县| 永清县| 玉溪市| 崇州市| 同江市| 仁寿县| 芷江| 泰兴市| 永清县| 乌兰浩特市| 滦南县| 依兰县| 德江县| 昌平区| 株洲县| 曲水县| 顺平县| 南丰县| 渝中区| 丰都县| 大方县| 平顶山市| 阳原县| 新乡县| 吴川市| 陆河县| 志丹县| 西乌珠穆沁旗| 兰溪市|