Update GameQuestion.html

This commit is contained in:
Doveliyuchen 2023-03-29 23:21:06 +08:00
parent 604e876d8d
commit 456d185852

View File

@ -294,18 +294,18 @@
</p> </p>
<p> <p>
<h4>3. Which player type represents you the best in Super Mario Bros?</h4> <h4>3. Which following selection represents you the best in Super Mario Bros?</h4>
<label> <label>
<input type="radio" class="option-input radio" name="gamestyle" value="A"> <input type="radio" class="option-input radio" name="gamestyle" value="A">
Runner: try to complete a level as fast as possible by running and jumping Trying to complete a level as fast as possible by running and jumping
</label> </label>
<label> <label>
<input type="radio" class="option-input radio" name="gamestyle" value="B"> <input type="radio" class="option-input radio" name="gamestyle" value="B">
Killer: prefer killing all the monsters in a level Prefer killing all the monsters in a level
</label> </label>
<label> <label>
<input type="radio" class="option-input radio" name="gamestyle" value="C"> <input type="radio" class="option-input radio" name="gamestyle" value="C">
Collector: attempt to collect all the coins in a level Attempt to collect all the coins in a level
</label> </label>
<label> <label>
<input type="radio" class="option-input radio" name="gamestyle" value="D"> <input type="radio" class="option-input radio" name="gamestyle" value="D">
@ -340,21 +340,10 @@
<p> <p>
<h4>5. What is your age?</h4> <h4>5. What is your age?</h4>
<label> <label>
<input type="radio" class="option-input radio" name="age" value="A"> <input type="radio" class="option-input radio" name="age" value="">
Below 20 <input type="number" value="" step="1" placeholder="Input your age">
</label>
<label>
<input type="radio" class="option-input radio" name="age" value="B">
20-39
</label>
<label>
<input type="radio" class="option-input radio" name="age" value="C">
40-59
</label>
<label>
<input type="radio" class="option-input radio" name="age" value="D">
Over 60
</label> </label>
<label> <label>
<input type="radio" class="option-input radio" name="age" value="E"> <input type="radio" class="option-input radio" name="age" value="E">
Prefer not to say Prefer not to say
@ -375,8 +364,20 @@
<input type="radio" class="option-input radio" name="gender" value="C"> <input type="radio" class="option-input radio" name="gender" value="C">
Prefer not to say Prefer not to say
</label> </label>
<script>
function renew( ){
$("input[name='gender']").val($("input[type='text']").val())
$("input[name='age']").val($("input[type='number']").val())
}
</script>
<label> <label>
<input type="radio" class="option-input radio" name="gender" value="D"> <input type="radio" class="option-input radio" name="gender" value=" ">
Other: Other:
<input type="text" value=""> <input type="text" value="">
@ -399,7 +400,7 @@
<br> <br>
<p><b><input type="submit" value="Submit" class="cirButton" <p><b><input type="submit" value="Submit" class="cirButton"
style="font-weight: 700; font-size: large; width: 60%;" /></b></p> style="font-weight: 700; font-size: large; width: 60%;" onclick ="renew()" /></b></p>
</form> </form>
</div> </div>