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

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.

主站蜘蛛池模板: 通州区| 威信县| 闵行区| 德庆县| 红安县| 漳浦县| 龙口市| 勃利县| 武乡县| 西青区| 伊金霍洛旗| 平顺县| 井研县| 信阳市| 大城县| 宁南县| 江门市| 花垣县| 湖州市| 潼南县| 阿荣旗| 衡山县| 荃湾区| 庆元县| 翁牛特旗| 滨州市| 马山县| 深水埗区| 阳泉市| 罗山县| 岱山县| 岳阳县| 太白县| 若羌县| 德令哈市| 陇西县| 石林| 青海省| 山西省| 凤翔县| 孟津县|