0
25.2 practice
No entiendo. Quien me ayuda? I don't understand. Who helps me with this? function main() { var eventExample = readLine(); // llama a la función setReminder(eventExample) } main(); //completa la función function setReminder(event) { var event = workout; console.log("you set a reminder about " +event); }; setReminder();
6 Respostas
+ 1
"workout" is not defined. We don't need this, just use "event".
I made some comments in the code.
https://code.sololearn.com/cBwcjjmcGG8K/?ref=app
0
And now?
function main() {
var eventExample = readLine();
// llama a la función
setReminder(eventExample)
};
//completa la función
function setReminder(eventExample) {
console.log("you set a reminder about " +eventExample)
};
0
Did you run it? Does it pass the tests?
0
Yes. But it doesn't happen.
0
Check the spelling in the task description again: I think it needs to be "You", not "you"
0
Lisa That's it. It was that. Thank you very much for your help and time. Thank you again!