标题:有没有大佬能给个思路
只看楼主
h2382983030
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2022-3-13
 问题点数:0 回复次数:0 
有没有大佬能给个思路
Write a JavaScript program to implement an online quiz consisting of 5 multiple choice questions. The full mark is 100, in which 20 marks for each MC questions. You have to include a question bank of 10 multiple choice questions and the quiz questions will be randomly generated from question bank.

When the page is loaded, a confirm box will be opened to ask the user to confirm whether the user is ready for the quiz or not. If ready, it will display the questions on screen:

There should be a submit button at the end of the quiz to do the following tasks:
1.    check if all questions have been answered. If not, offer warning message to users to answer all questions.
2.    calculate the marks of the quiz
3.    display the marks of the quiz on a new window. In addition, it will display the correct answers for those wrong answers from the user, e.g. Question 1: The answer should be B.


求大佬指点
搜索更多相关主题的帖子: display for If The 思路 
2022-03-13 17:14



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-508541-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.519539 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved