+ .option:hover {
+ background-color: #f2e9e4;
+ color: #8e0013;
+ border-color: #8e0013;
+ font-weight: 600;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1);
+ }
+
+ .option:active {
+ background-color: #f7d8e1;
+ color: #8e0013;
+ border-color: #8e0013;
+ }
+
+ /* Solution Display Styling */
+ .solution {
+ margin-top: 15px;
+ text-align: left;
+ font-size: 0.9rem;
+ color: #5a5a5a;
+ border-top: 1px solid #ddd;
+ padding-top: 10px;
+ font-weight: 500;
+ }
+
+ /* Result Display Styling */
+ #quiz-result {
+ font-size: 1.2rem;
+ font-weight: 700;
+ color: #8e0013;
+ margin-top: 20px;
+ padding: 10px;
+ border-radius: 8px;
+ background-color: #fbe3e7;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2);
+ }
+
+
+
+
+
Historical Fiction Books Quiz
+
+
+
+
+
+
-
-
-
-
-
-
-
+ }
-
+ document.addEventListener("DOMContentLoaded", loadQuestion);
+
+
diff --git a/assets/html/horrorq.html b/assets/html/horrorq.html
index 825515d0..da51b17f 100644
--- a/assets/html/horrorq.html
+++ b/assets/html/horrorq.html
@@ -1,187 +1,279 @@
-
-
-
-
+ /* Option Button Styling */
+ .option {
+ margin: 8px 0;
+ background-color: #f9f9fb;
+ border: 2px solid #dedfe2;
+ color: #333;
+ border-radius: 6px;
+ padding: 12px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s, color 0.3s, border-color 0.3s;
+ text-align: left;
+ font-weight: 700;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+ }
-
-
Horror Books Quiz
-
+ .option:hover {
+ background-color: #f2e9e4;
+ color: #8e0013;
+ border-color: #8e0013;
+ font-weight: 600;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1);
+ }
+
+ .option:active {
+ background-color: #f7d8e1;
+ color: #8e0013;
+ border-color: #8e0013;
+ }
+
+ /* Solution Display Styling */
+ .solution {
+ margin-top: 15px;
+ text-align: left;
+ font-size: 0.9rem;
+ color: #5a5a5a;
+ border-top: 1px solid #ddd;
+ padding-top: 10px;
+ font-weight: 500;
+ }
+
+ /* Result Display Styling */
+ #quiz-result {
+ font-size: 1.2rem;
+ font-weight: 700;
+ color: #8e0013;
+ margin-top: 20px;
+ padding: 10px;
+ border-radius: 8px;
+ background-color: #fbe3e7;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2);
+ }
+
+
+
+
+
Horror Books Quiz
+
+
+
+
+
+
-
-
-
-
-
-
-
+ }
-
+ document.addEventListener("DOMContentLoaded", loadQuestion);
+
+
diff --git a/assets/html/romanceq.html b/assets/html/romanceq.html
index a5672681..8b1526d3 100644
--- a/assets/html/romanceq.html
+++ b/assets/html/romanceq.html
@@ -1,186 +1,291 @@
-
-
-
+
+
+
Romance Books Quiz
-
-
+ /* Option Button Styling */
+ .option {
+ margin: 8px 0;
+ background-color: #f9f9fb;
+ border: 2px solid #dedfe2;
+ color: #333;
+ border-radius: 6px;
+ padding: 12px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s, color 0.3s, border-color 0.3s;
+ text-align: left;
+ font-weight: 700;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+ }
-
-
Romance Books Quiz
-
+ .option:hover {
+ background-color: #f2e9e4;
+ color: #8e0013;
+ border-color: #8e0013;
+ font-weight: 600;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1);
+ }
+
+ .option:active {
+ background-color: #f7d8e1;
+ color: #8e0013;
+ border-color: #8e0013;
+ }
+
+ /* Solution Display Styling */
+ .solution {
+ margin-top: 15px;
+ text-align: left;
+ font-size: 0.9rem;
+ color: #5a5a5a;
+ border-top: 1px solid #ddd;
+ padding-top: 10px;
+ font-weight: 500;
+ }
+
+ /* Result Display Styling */
+ #quiz-result {
+ font-size: 1.2rem;
+ font-weight: 700;
+ color: #8e0013;
+ margin-top: 20px;
+ padding: 10px;
+ border-radius: 8px;
+ background-color: #fbe3e7;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2);
+ }
+
+
+
+
+
Romance Books Quiz
+
+
+
+
+
+
-
-
-
-
-
-
-
+ }
-
+ document.addEventListener("DOMContentLoaded", loadQuestion);
+
+
diff --git a/assets/html/scienceq.html b/assets/html/scienceq.html
index a31e5015..9b8dc0be 100644
--- a/assets/html/scienceq.html
+++ b/assets/html/scienceq.html
@@ -1,186 +1,286 @@
-
-
-
+
+
+
Science Fiction Books Quiz
-
-
+ /* Option Button Styling */
+ .option {
+ margin: 8px 0;
+ background-color: #f9f9fb;
+ border: 2px solid #dedfe2;
+ color: #333;
+ border-radius: 6px;
+ padding: 12px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s, color 0.3s, border-color 0.3s;
+ text-align: left;
+ font-weight: 700;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+ }
-
-
Science Fiction Books Quiz
-
+ .option:hover {
+ background-color: #f2e9e4;
+ color: #8e0013;
+ border-color: #8e0013;
+ font-weight: 600;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1);
+ }
+
+ .option:active {
+ background-color: #f7d8e1;
+ color: #8e0013;
+ border-color: #8e0013;
+ }
+
+ /* Solution Display Styling */
+ .solution {
+ margin-top: 15px;
+ text-align: left;
+ font-size: 0.9rem;
+ color: #5a5a5a;
+ border-top: 1px solid #ddd;
+ padding-top: 10px;
+ font-weight: 500;
+ }
+
+ /* Result Display Styling */
+ #quiz-result {
+ font-size: 1.2rem;
+ font-weight: 700;
+ color: #8e0013;
+ margin-top: 20px;
+ padding: 10px;
+ border-radius: 8px;
+ background-color: #fbe3e7;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2);
+ }
+
+
+
+
+
Science Fiction Books Quiz
+
+
+
+
+
+
-
-
-
-
-
-
-
+ }
-
+ document.addEventListener("DOMContentLoaded", loadQuestion);
+
+
diff --git a/assets/html/selfq.html b/assets/html/selfq.html
index 2fe61e96..4b91f650 100644
--- a/assets/html/selfq.html
+++ b/assets/html/selfq.html
@@ -1,186 +1,296 @@
-
-
-
+
+
+
Self-Help Books Quiz
-
-
+ /* Option Button Styling */
+ .option {
+ margin: 8px 0;
+ background-color: #f9f9fb;
+ border: 2px solid #dedfe2;
+ color: #333;
+ border-radius: 6px;
+ padding: 12px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s, color 0.3s, border-color 0.3s;
+ text-align: left;
+ font-weight: 700;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+ }
-
-
Self-Help Books Quiz
-
+ .option:hover {
+ background-color: #f2e9e4;
+ color: #8e0013;
+ border-color: #8e0013;
+ font-weight: 600;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1);
+ }
+
+ .option:active {
+ background-color: #f7d8e1;
+ color: #8e0013;
+ border-color: #8e0013;
+ }
+
+ /* Solution Display Styling */
+ .solution {
+ margin-top: 15px;
+ text-align: left;
+ font-size: 0.9rem;
+ color: #5a5a5a;
+ border-top: 1px solid #ddd;
+ padding-top: 10px;
+ font-weight: 500;
+ }
+
+ /* Result Display Styling */
+ #quiz-result {
+ font-size: 1.2rem;
+ font-weight: 700;
+ color: #8e0013;
+ margin-top: 20px;
+ padding: 10px;
+ border-radius: 8px;
+ background-color: #fbe3e7;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2);
+ }
+
+
+
+
+
Self-Help Books Quiz
+
+
+
+
+
+
-
-
-
-
-
-
-
+ }
-
+ document.addEventListener("DOMContentLoaded", loadQuestion);
+
+
diff --git a/assets/html/suspenseq.html b/assets/html/suspenseq.html
index 33a84d5a..0449199e 100644
--- a/assets/html/suspenseq.html
+++ b/assets/html/suspenseq.html
@@ -1,186 +1,281 @@
-
-
-
+
+
+
Suspense Thriller Books Quiz
-
-
+ /* Option Button Styling */
+ .option {
+ margin: 8px 0;
+ background-color: #f9f9fb;
+ border: 2px solid #dedfe2;
+ color: #333;
+ border-radius: 6px;
+ padding: 12px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s, color 0.3s, border-color 0.3s;
+ text-align: left;
+ font-weight: 700;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+ }
-
-
Suspense Thriller Books Quiz
-
+ .option:hover {
+ background-color: #f2e9e4;
+ color: #8e0013;
+ border-color: #8e0013;
+ font-weight: 600;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1);
+ }
+
+ .option:active {
+ background-color: #f7d8e1;
+ color: #8e0013;
+ border-color: #8e0013;
+ }
+
+ /* Solution Display Styling */
+ .solution {
+ margin-top: 15px;
+ text-align: left;
+ font-size: 0.9rem;
+ color: #5a5a5a;
+ border-top: 1px solid #ddd;
+ padding-top: 10px;
+ font-weight: 500;
+ }
+
+ /* Result Display Styling */
+ #quiz-result {
+ font-size: 1.2rem;
+ font-weight: 700;
+ color: #8e0013;
+ margin-top: 20px;
+ padding: 10px;
+ border-radius: 8px;
+ background-color: #fbe3e7;
+ box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2);
+ }
+
+
+
+
+
Suspense Thriller Books Quiz
+
+
+
+
+
+
-
-
-
-
-
-
-
+ }
-
+ document.addEventListener("DOMContentLoaded", loadQuestion);
+
+