# Quickstart: McDonald's IT Halloween Event Page **Feature**: Halloween event announcement webpage **Date**: 2025-10-04 **Purpose**: Step-by-step testing and validation checklist ## Prerequisites - Modern web browser (Chrome, Firefox, Safari, or Edge - latest 2 versions) - Text editor (for viewing source if needed) - Internet connection (for online validators) - Device with different screen sizes OR browser dev tools for responsive testing ## Quick Test (2 minutes) 1. **Open the page** ```bash # Navigate to project directory cd /Users/snowprint/workspace/claude/test-project # Open index.html in default browser open index.html # OR for other systems: # xdg-open index.html (Linux) # start index.html (Windows) ``` 2. **Visual check** ✅ - [ ] Black background (#000000) - [ ] Green text (#00FF00) for primary content - [ ] Amber text (#FFBF00) for key information - [ ] Monospace font (looks like terminal/code) - [ ] No shadows, gradients, or decorative effects 3. **Content check** ✅ - [ ] McDonald's ASCII art logo visible at top - [ ] "i'm lovin' IT" tagline below logo with blinking cursor - [ ] Countdown timer showing days, hours, minutes, seconds - [ ] Event details: Oct 31 2025, 18:00-21:00 GMT+8 - [ ] Location: MITA Building 2F Pantry - [ ] Organizer: Jessi Pan (jessi.pan@cn.mcd.com) - [ ] Activities listed (Cosplay, Debugging Games, Lucky Draw) - [ ] Halloween decorations (🎃👻🦇 or ASCII art) - [ ] Footer: "McDonald's IT Academy" 4. **Functionality check** ✅ - [ ] Countdown timer updates every second - [ ] No JavaScript errors in browser console (F12 → Console tab) - [ ] Browser tab title shows "2025 MITA Halloween" - [ ] Favicon shows pumpkin emoji 🎃 5. **Responsive check** ✅ - [ ] Resize browser to mobile width (< 768px) - [ ] ASCII art switches to mobile version OR remains legible - [ ] No horizontal scrollbar appears - [ ] All content readable without zooming ## Full Test Suite (15 minutes) ### 1. Visual Design Validation **Test**: Verify terminal aesthetic - [ ] Background is pure black (#000000) - [ ] Primary text is terminal green (#00FF00) - [ ] Accent text is amber (#FFBF00) - [ ] Font is monospace (Courier New, Monaco, Consolas, or Menlo) - [ ] No shadows on any elements - [ ] No gradients anywhere - [ ] No borders or decorative effects - [ ] Overall look is minimalist and geek-style **Expected**: Page looks like a terminal/command-line interface --- ### 2. Content Verification **Test**: Verify all required content is present and correct **Event Information**: - [ ] Title: "2025 MITA Halloween" (in browser tab) - [ ] Date: October 31, 2025 - [ ] Time: 18:00 - 21:00 (6:00 PM - 9:00 PM) - [ ] Timezone: GMT+8 clearly stated - [ ] Location: MITA Building 2F Pantry - [ ] Organizer: Jessi Pan - [ ] Contact: jessi.pan@cn.mcd.com **Activities**: - [ ] Cosplay (encouraged) - [ ] Bug debugging games - [ ] Lucky draw **Notes**: - [ ] Costumes encouraged - [ ] Food and drinks provided **ASCII Art**: - [ ] McDonald's logo with Golden Arches M - [ ] Halloween decorations (pumpkins, ghosts, bats) **Tagline**: - [ ] "i'm lovin' IT" displayed - [ ] Blinking cursor animation after tagline **Footer**: - [ ] "McDonald's IT Academy" displayed **Expected**: All content matches specification exactly --- ### 3. Bilingual Content Check **Test**: Verify English/Chinese alternating pattern - [ ] Each piece of information has English version - [ ] Each piece of information has Chinese version - [ ] Lines alternate: English, then Chinese - [ ] `lang="en"` attribute on English paragraphs - [ ] `lang="zh-CN"` attribute on Chinese paragraphs - [ ] Both languages are legible and well-formatted **Expected**: Clear bilingual display with proper language tagging --- ### 4. Countdown Timer Functionality **Test**: Verify countdown accuracy and updates **Before Event** (current time < Oct 31 2025 18:00 GMT+8): - [ ] Countdown displays days, hours, minutes, seconds - [ ] Timer updates every second - [ ] Values are accurate (check against system clock) - [ ] No negative values shown - [ ] Format is clear (e.g., "365d 12h 34m 56s") **Manual Time Test** (using browser dev tools): ```javascript // Open browser console (F12) // Override system date to test different states // Test: Just before event starts const testDate = new Date('2025-10-31T09:59:50Z'); // 17:59:50 GMT+8 // Check countdown shows 0d 0h 0m 10s (approximately) // Test: Event starting const testDate = new Date('2025-10-31T10:00:00Z'); // 18:00:00 GMT+8 // Check displays "🎃 EVENT STARTING NOW! 🎃" // Test: Event ended const testDate = new Date('2025-10-31T13:00:01Z'); // 21:00:01 GMT+8 // Check displays "👻 EVENT COMPLETED - Thanks for joining! 👻" ``` **Expected**: Countdown is accurate and handles all three states correctly --- ### 5. Responsive Design Testing **Test**: Page adapts to different screen sizes **Desktop (1024px+)**: - [ ] Full ASCII art logo visible - [ ] All content displayed comfortably - [ ] No horizontal scroll - [ ] Text is readable without zooming **Tablet (768-1023px)**: - [ ] Layout adapts smoothly - [ ] ASCII art remains legible OR switches to simpler version - [ ] No horizontal scroll - [ ] All features functional **Mobile (320-767px)**: - [ ] Mobile ASCII art version displayed (if different) - [ ] Countdown timer visible and readable - [ ] Bilingual content stacks vertically - [ ] No horizontal scroll - [ ] Tap targets are adequate (buttons, links) **Very Small (< 320px)** [optional]: - [ ] Ultra-minimal ASCII art or text fallback - [ ] Core content still accessible **How to test**: 1. Open browser DevTools (F12) 2. Toggle device toolbar (Ctrl+Shift+M / Cmd+Shift+M) 3. Select different device presets OR 4. Drag responsive width to test breakpoints **Expected**: Page is fully functional and readable at all sizes --- ### 6. Accessibility Testing **Test**: WCAG 2.1 AA compliance **Contrast Ratios** (use https://webaim.org/resources/contrastchecker/): - [ ] Green (#00FF00) on black (#000000) = 21:1 ratio ✅ (exceeds WCAG AAA) - [ ] Amber (#FFBF00) on black (#000000) = 12:1 ratio ✅ (exceeds WCAG AA) **Screen Reader Test** (optional but recommended): - [ ] Enable screen reader (VoiceOver on Mac, NVDA on Windows) - [ ] Navigate through page - [ ] All content is announced - [ ] Language switches are detected (English → Chinese) - [ ] ARIA labels provide context for visual elements **Keyboard Navigation**: - [ ] Tab through all interactive elements - [ ] Focus indicators are visible - [ ] All functionality accessible via keyboard **Semantic HTML**: - [ ] Proper heading hierarchy (h1, h2, etc.) - [ ] Semantic tags used (
,
,
,