0
Am stuck in js 25.2 function parameters
I even tried the exact code given in the solutions, still it wouldn't be correct and I can't move to the next lesson
6 odpowiedzi
+ 3
Thanks it worked A͢J
+ 2
You need to give an extra space after your text.
Try -
console.log('You set a reminder about ' + event);
or
console.log(`You set a reminder about ${event}`);
+ 1
Share your solution?
+ 1
Risky Llama
There should be space after "about"
+ 1
function main() {
var eventExample = readLine();
// function call
setReminder(eventExample)
}
//complete the function
function setReminder(eventExample ) {
console.log(`You set a reminder about ${eventExample }`);
};
It's working now
0
function main() {
var eventExample = readLine();
// function call
setReminder(eventExample)
}
//complete the function
function setReminder(event){
console.log('You set a reminder about' +event);
};