+ 2
Important reminders
function main() { var eventExample = readLine(); console.log("You set a reminder about" +" "+ eventExample ) setReminder(eventExample) } //complete the function function setReminder() { }; Hello this is my correct ans, but as you can see, there's one part not ready can you help me?: //complete the function function setReminder() { }; Also, why there's one semi.colon here? Thank you very much
1 Odpowiedź
+ 4
josé manuel ,
you are very close to the solution. see the code with comments:
function main() {
var eventExample = readLine();
// console.log("You set a reminder about" +" "+ eventExample ) <<<--- place this line inside the function and remove it here
setReminder(eventExample)
}
function setReminder(eventExample) {
console.log("You set a reminder about" +" "+ eventExample )
}; // semicolon at the end of the function