From cb3d9994df8c474680a7fb1fcc8e0a51995db063 Mon Sep 17 00:00:00 2001 From: dev sp Date: Tue, 21 Nov 2023 14:21:58 +0000 Subject: [PATCH] u --- .dd.swp | 0 dd | 0 public/assets/qs.json | 22 +++---- src/components/MCQQuestion.vue | 87 +++++++++++++-------------- src/components/MainHeader.vue | 104 +-------------------------------- src/components/Temp.vue | 34 +++++++++++ 6 files changed, 88 insertions(+), 159 deletions(-) create mode 100644 .dd.swp create mode 100644 dd create mode 100644 src/components/Temp.vue diff --git a/.dd.swp b/.dd.swp new file mode 100644 index 0000000..e69de29 diff --git a/dd b/dd new file mode 100644 index 0000000..e69de29 diff --git a/public/assets/qs.json b/public/assets/qs.json index 06f786e..791548f 100644 --- a/public/assets/qs.json +++ b/public/assets/qs.json @@ -1,6 +1,6 @@ [ { - "id" : 1, + "id" : 17567, "qs" : "Inside which HTML element do we put the JavaScript?", "options" : [ "<script>", @@ -13,7 +13,7 @@ "status": "" }, { - "id" : 2, + "id" : 4545, "qs" : "Where is the correct place to insert a JavaScript?", "options" : [ "The <head> section", @@ -25,7 +25,7 @@ "status": "" }, { - "id" : 3, + "id" : 223, "qs" : "What is the correct syntax for referring to an external script called 'xxx.js'?", "options" : [ "<script href="xxx.js">", @@ -37,7 +37,7 @@ "status": "" }, { - "id" : 4, + "id" : 867, "qs" : "The external JavaScript file must contain the <script> tag.", "options" : [ "True", @@ -48,7 +48,7 @@ "status": "" }, { - "id" : 5, + "id" : 5544, "qs" : "How do you write "Hello World" in an alert box?", "options" : [ "alertBox("Hello World");", @@ -61,7 +61,7 @@ "status": "" }, { - "id" : 6, + "id" : 765, "qs" : "How do you create a function in JavaScript?", "options" : [ "function myFunction()", @@ -73,7 +73,7 @@ "status": "" }, { - "id" : 7, + "id" : 108, "qs" : "How do you call a function named "myFunction"?", "options" : [ "call function myFunction()", @@ -85,7 +85,7 @@ "status": "" }, { - "id" : 8, + "id" : 4328, "qs" : "How to write an IF statement in JavaScript?", "options" : [ "if i = 5 then", @@ -98,7 +98,7 @@ "status": "" }, { - "id" : 9, + "id" : 989, "qs" : "Which of the following is a disadvantage of using JavaScript?", "options" : [ "Client-side JavaScript does not allow the reading or writing of files.", @@ -111,7 +111,7 @@ "status": "" }, { - "id" : 10, + "id" : 1450, "qs" : "How to write an IF statement for executing some code if "i" is NOT equal to 5?", "options" : [ "if (i <> 5)", @@ -124,7 +124,7 @@ "status": "" }, { - "id" : 11, + "id" : 211, "qs" : "How does a WHILE loop start?", "options" : [ "while i = 1 to 10", diff --git a/src/components/MCQQuestion.vue b/src/components/MCQQuestion.vue index 12fc413..e6c9f48 100644 --- a/src/components/MCQQuestion.vue +++ b/src/components/MCQQuestion.vue @@ -18,37 +18,27 @@
+ Question ID: {{ qsActive.id }}

{{ index + 1 }}   -   +   + +
- -
- - + + + + +
- +
No Data Found
@@ -56,63 +46,64 @@
- - \ No newline at end of file diff --git a/src/components/MainHeader.vue b/src/components/MainHeader.vue index df7fc67..79bc761 100644 --- a/src/components/MainHeader.vue +++ b/src/components/MainHeader.vue @@ -1,107 +1,5 @@