Hi
I am trying to create a dynamic text box that tells the user if they have passed or failed a quiz.
however, this isn't working - can anyone see where i am going wrong ?
thanks
I am trying to create a dynamic text box that tells the user if they have passed or failed a quiz.
Code:
if (QuizTrack.percent_format = '<70') {
resultsText.text = "congratulations you have passed";}
else {
resultsText.text = "you have failed to score 70% or higher, please try again";
}
however, this isn't working - can anyone see where i am going wrong ?
thanks