Skip to content

Instantly share code, notes, and snippets.

View SarahBass's full-sized avatar
🎯
Detour: a Mobile Game for fun

Sarah Bass SarahBass

🎯
Detour: a Mobile Game for fun
View GitHub Profile
@SarahBass
SarahBass / holiday.js
Created March 9, 2023 19:49
A simple function to return the string of a holiday greeting for major Holidays in 2022-2030 (USA).
//Not an organized list. Dates from https://www.calendarpedia.com/
function Holiday() {
if (month == 10 && day == 24 && year == 2022) {
return " Happy Thanksgiving!";
} else if (month == 10 && day == 23 && year == 2023) {
return " Happy Thanksgiving!";
} else if (month == 10 && day == 28 && year == 2024) {
return " Happy Thanksgiving!";