Skip to content
Open

Done #2138

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
// write your code below!
function happyHolidays() {
return "Happy holidays!";
}

function happyHolidaysTo(name) {
return `Happy holidays, ${name}!`;
}

function happyCustomHolidayTo(holiday, name) {
return `Happy ${holiday}, ${name}!`;
}

function holidayCountdown(holiday, days) {
return `It's ${days} days until ${holiday}!`
}
//might have to do something with the adding of strings to accept both parameters