From 30fb4b227bd0af18bd4b02c8943c211fe0df8b1c Mon Sep 17 00:00:00 2001 From: palutlaanirudh Date: Fri, 29 Mar 2019 20:59:24 +0530 Subject: [PATCH] Fixed issue #122 --- src/lab/exp1/Quizzes.html | 5 ++++- src/lab/exp1/evaluate.js | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lab/exp1/Quizzes.html b/src/lab/exp1/Quizzes.html index 973f4d12d..6fcdd3fa3 100644 --- a/src/lab/exp1/Quizzes.html +++ b/src/lab/exp1/Quizzes.html @@ -152,7 +152,10 @@

Points & Co-ordinate Systems

   (2, 4, 4)

-

+


+ +

+

diff --git a/src/lab/exp1/evaluate.js b/src/lab/exp1/evaluate.js index 49db73135..c8af44e42 100644 --- a/src/lab/exp1/evaluate.js +++ b/src/lab/exp1/evaluate.js @@ -75,9 +75,15 @@ function eval() result += "Q3"; } + + /* Displaying Correct Answers */ + anss = "The correct answers are: \n\nq1a: " + a1a "\nq1b: " + a1b + "\nq1c: " + a1c + "\nq1d: " + a1d + "\nq1e: " + a1e + "\nq2: " + a2 + "\nq3: " + a3 + "\n"; + document.getElementById("anss").innerHTML += anss; + /* Show result */ var output = "Your score is " + score + "\n"; output += result; alert(output); + }