Skip to content

Commit 3c62f1c

Browse files
Update quiz.html
1 parent 114e09f commit 3c62f1c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

quiz.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -554,18 +554,18 @@ <h3>Quiz Questions</h3>
554554
<script>
555555
// --- CONTROL KEYWORD HERE ---
556556
// Change this variable to "disable" or "enable"
557-
const linkControlStatus = "enable"; // Set to "enable" to activate links
557+
const linkControlStatus = "disable"; // Set to "enable" to activate links
558558
// --- END CONTROL KEYWORD ---
559559

560560
// --- TIMER CONTROL KEYWORD HERE ---
561561
// Change this variable to "disable" or "enable" to use the timer
562-
const timerControlStatus = "disable"; // Set to "enable" to activate time-based control
562+
const timerControlStatus = "enable"; // Set to "enable" to activate time-based control
563563
// Define the quiz start and end times in IST (Indian Standard Time)
564564
// Format: "Month Day, Year HH:MM:SS AM/PM GMT+0530"
565565
// Use an unambiguous format for Date object parsing.
566566
// Example for 5th July 2025, 6:00 PM IST
567-
const quizStartTime = new Date("July 5, 2025 18:00:00 GMT+0530"); // 6:00 PM IST
568-
const quizEndTime = new Date("July 6, 2025 18:00:00 GMT+0530"); // 6:00 PM IST
567+
const quizStartTime = new Date("July 12, 2025 18:00:00 GMT+0530"); // 6:00 PM IST
568+
const quizEndTime = new Date("July 13, 2025 18:00:00 GMT+0530"); // 6:00 PM IST
569569
// --- END TIMER CONTROL KEYWORD ---
570570

571571

@@ -652,19 +652,19 @@ <h3>Quiz Questions</h3>
652652
// Priority 1: Manual override via linkControlStatus
653653
if (linkControlStatus === "enable") {
654654
quizShouldBeEnabled = true;
655-
statusElement.innerHTML = 'BRAIN CACHE - WEEK 6 QUIZ<br>fill within 5/7/25 6.00 PM IST!'; // Indicate manual override
655+
statusElement.innerHTML = 'BRAIN CACHE - WEEK 7 QUIZ<br>fill within 13/07/2025 6.00 PM IST!'; // Indicate manual override
656656
statusElement.style.color = '#008000'; // Green
657657
}
658658
// Priority 2: Timer control, if enabled
659659
else if (timerControlStatus === "enable") {
660660
if (currentTime >= quizStartTime && currentTime < quizEndTime) {
661661
quizShouldBeEnabled = true;
662-
statusElement.innerHTML = 'BRAIN CACHE - WEEK 6 QUIZ<br>Quiz is LIVE! Ends on 06/07/2025 6:00 PM IST!';
662+
statusElement.innerHTML = 'BRAIN CACHE - WEEK 7 QUIZ<br>Quiz is LIVE! Ends on 13/07/2025 6:00 PM IST!';
663663
statusElement.style.color = '#008000'; // Green for active
664664
} else if (currentTime < quizStartTime) {
665665
// Quiz not yet started
666666
quizShouldBeEnabled = false;
667-
statusElement.innerHTML = 'BRAIN CACHE<br>Quiz starts on 05/07/2025 6:00 PM IST!';
667+
statusElement.innerHTML = 'BRAIN CACHE - WEEK 7 QUIZ<br>Quiz starts on 12/07/2025 6:00 PM IST!';
668668
statusElement.style.color = '#FFA500'; // Orange for upcoming
669669
} else {
670670
// Quiz ended

0 commit comments

Comments
 (0)