USING HTML AND JAVASCRIPT CODRF PROVIDED ADDED THE FOLLOWING FEATURES: 1. Provid
ID: 3794268 • Letter: U
Question
USING HTML AND JAVASCRIPT CODRF PROVIDED ADDED THE FOLLOWING FEATURES:
1. Provide the following information: First Name, Last Name, and Email for Assessment. (validate input).
2. Take a Test/Quiz (minimum 5 multiple choice questions).
3. Submit the result of the Test/Quiz.
Note: The following information should be available on the different document/window:
a. Information about student,
b. Total grade (%)
c. Statistics (Example: Q1 – wrong /correct).
HTML CODE:
Round trip
What does HTML stand For
Home took Markup Language
Hypertext Markup Language
Hyperlinks and Text Markup Language
I don't know
Who is making Web Standards
Mozilla
The World Wide Web Consortium
Google
Microsoft
Choose the correct HTML element fo the largest heading:
heading
h1
head
h6
Choose the correct HTML element to define important text:
important
i
strong
b
How can you make a numbered list?
ul
list
dl
ol
View Results
JAVASCRIPT CODE:
var answers = ["A","C","B"],
tot = answers.length;
function getCheckedValue( radioName ){
var radios = document.getElementsByName( radioName );
for(var y=0; y if(radios[y].checked) return radios[y].value;
}
function getScore(){
var score = 0;
for (var i=0; i if(getCheckedValue("question"+i)===answers[i]) score += 1;
return score;
}
function returnScore(){
alert("Your score is "+ getScore() +"/"+ tot);
}
Explanation / Answer
2.ans:
1. What does HTML stand For
Ans: Hypertext Markup Language
2. Who is making Web Standards
Ans: The World Wide Web Consortium
3. Choose the correct HTML element fo the largest heading:
Ans: h1
4. Choose the correct HTML element to define important text:
Ans: i
5. How can you make a numbered list?
Ans: ul
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.