% If Request.Form("post") = 1 Then %>
|
<%
'errorstmt = errorstmt & ", Brand Name"
score = 0
clue = ""
know = ""
If Request.Form("question1") = "1" Then
score = score + 1
know = "why Recycle City was covered in all types of recyclable litter"
Else
clue = clue & "why the recycling machine isn't being used anymore "
End If
If Request.Form("question2") = "1" Then
score = score + 1
know = "how people could have prevented Recycle City from being covered in trash"
Else
clue = clue & "see how the litter could have been prevented "
End If
If Request.Form("question3") = "1" Then
score = score + 1
know = "how six-pack rings could be recycled"
Else
clue = clue & "figure out how to recycle six-pack rings "
End If
If Request.Form("question4") = "1" Then
score = score + 1
know = "how to reduce the number of batteries used by Recycle City"
Else
clue = clue & "learn how to reduce the amount of batteries used "
End If
If Request.Form("question5") = "1" Then
score = score + 1
know = "why the recycling machine isn't being used anymore"
Else
clue = clue & "figure out why the recycling machine isn't used anymore "
End If %>
<% IF score = 0 then %>
I'm sorry, you didn't get any of the questions correct. You should
probably start at the
begining of the adventure and try again.
<% End If %>
<% If score = 1 Then %>
You answered one question correctly. You knew <%=know%>, but you need to
return to the adventure
to complete the rest of the challenge with the correct.
answers. Good Luck!
<% End If %>
<% If score = 2 Then %>
You answered two questions correctly. That's a good start, but you
need to return to the
adventure to <%=clue%>.
<% End If %>
<% If score = 3 Then %>
You answered three questions correctly. That's more than half, but
you need to return to
the adventure to <%=clue%>.
<% End If %>
<% If score = 4 Then %>
Good work, you answered four questions correctly. But to
<%=clue%>, you need to
return to the adventure.
<% End If %>
<% If score = 5 Then %>
Congratulations, you answered all five questions correctly. By
showing that the environmental problems can be solved, the people
of Recycle City will work to make their world beautiful again.
Visit
Recycle City to see how it will look when people have
followed your example in cleaning up the world.
<% End If %>
|