From 1cfd8dd8439dc7f35c6f7d1b84df2e2bebe087e9 Mon Sep 17 00:00:00 2001 From: Max Geldner Date: Tue, 13 Nov 2018 11:50:47 +0100 Subject: [PATCH] Added feedback to cia quiz --- .../cia/src/main/resources/html/CIA.html | 26 ++++++++++--------- .../cia/src/main/resources/js/quiz.js | 2 +- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/webgoat-lessons/cia/src/main/resources/html/CIA.html b/webgoat-lessons/cia/src/main/resources/html/CIA.html index 5bc964274..3caef6e61 100644 --- a/webgoat-lessons/cia/src/main/resources/html/CIA.html +++ b/webgoat-lessons/cia/src/main/resources/html/CIA.html @@ -22,19 +22,21 @@
-
-
-
-
-
- -
+
+
+
+
+
+
+ +
+
+
+
-
-
\ No newline at end of file diff --git a/webgoat-lessons/cia/src/main/resources/js/quiz.js b/webgoat-lessons/cia/src/main/resources/js/quiz.js index f2953165b..32fdaf41b 100644 --- a/webgoat-lessons/cia/src/main/resources/js/quiz.js +++ b/webgoat-lessons/cia/src/main/resources/js/quiz.js @@ -11,7 +11,7 @@ $(function () { let html = ""; jQuery.each(questionsObj, function(i, obj) { jQuery.each(obj, function(j, quest) { - html += "

" + (j+1) + ". " + quest.text + "

"; + html += "

" + (j+1) + ". " + quest.text + "

"; html += "
"; jQuery.each(quest.solutions, function(k, solution) { solution = "Solution " + k + ": " + solution;