|
1 | | - |
2 | 1 | <!DOCTYPE html> |
3 | 2 | <html lang="en"> |
4 | 3 | <head> |
@@ -3188,17 +3187,17 @@ <h3>25. Why is `fgets()` used for reading the student name instead of `scanf("%s |
3188 | 3187 | // --- CONTROL KEYWORD HERE --- |
3189 | 3188 | // Define a variable to store the ID of the disabled week |
3190 | 3189 | // Set this to the week you want to disable (e.g., 'week4', 'week2', or null if no week is disabled) |
3191 | | -let disabledWeekId = 'week7'; // Changed from 'null' to null to ensure no week is disabled |
| 3190 | +let disabledWeekId = 'null'; // Changed from 'null' to null to ensure no week is disabled |
3192 | 3191 |
|
3193 | 3192 | // Define an array of disabled days for a given week (e.g., ['tuesday', 'thursday'] for week1) |
3194 | 3193 | const disabledDays = { |
3195 | 3194 | // Uncomment these lines and specify days if you want to disable specific days within weeks |
3196 | | - 'week1': ['monday','tuesday','wednesday','thursday','friday'], // Example: disabled days for Week 1 |
3197 | | - 'week2': ['monday','tuesday','wednesday','thursday','friday'], |
3198 | | - 'week3': ['monday','tuesday','wednesday','thursday','friday'], |
3199 | | - 'week4': ['monday','tuesday','wednesday','thursday','friday'], |
3200 | | - 'week5': ['monday','tuesday','wednesday','thursday','friday'], |
3201 | | - 'week6': ['monday','tuesday','wednesday','thursday','friday'], |
| 3195 | + // 'week1': ['monday','tuesday','wednesday','thursday','friday'], // Example: disabled days for Week 1 |
| 3196 | + // 'week2': ['monday','tuesday','wednesday','thursday','friday'], |
| 3197 | + // 'week3': ['monday','tuesday','wednesday','thursday','friday'], |
| 3198 | + // 'week4': ['monday','tuesday','wednesday','thursday','friday'], |
| 3199 | + // 'week5': ['monday','tuesday','wednesday','thursday','friday'], |
| 3200 | + // 'week6': ['monday','tuesday','wednesday','thursday','friday'], |
3202 | 3201 | // 'week7': [], // Mindmash - no disabled days here for now |
3203 | 3202 | }; |
3204 | 3203 | // --- END CONTROL KEYWORD --- |
|
0 commit comments