我正在尝试制作一个测验网站,并希望它以“开始测验”按钮开始,然后消失并让位于第一个测验问题。到目前为止,我只有以下内容:
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Quiz</title>
</head>
<body>
<h1>Football Quiz Game</h1>
<button type="button" name="mainButton" onClick =
"this.style.visibility= 'hidden';">Begin Quiz!</button>
<div class="firstQuestion">
<h3>Who is the top all-time goalscorer in the UEFA Champions League?
</h3>
<form class="question1">
<input type="radio" id="Cristiano Ronaldo" name="topUCLscorer"
value="Cristiano Ronaldo">
<label for="topUCLscorer">Cristiano Ronaldo</label>
<input type="radio" id="Raul" name="topUCLscorer" value="Raul">
<label for="topUCLscorer">Raul</label>
<input type="radio" id="Lionel Messi" name="topUCLscorer"
value="Lionel Messi">
<label for="topUCLscorer">Lionel Messi</label>
<input type="radio" id="Karim Benzema" name="topUCLscorer"
value="Karim Benzema">
<label for="topUCLscorer">Karim Benzema</label>
</form>
</div>
</body>
</html>
料青山看我应如是
肥皂起泡泡
ITMISS
斯蒂芬大帝
相关分类