+ 2

Trying to solve important reminders in JavaScript

Sometimes it’s very useful to set reminder to help you accomplish all of your tasks. The program you are given takes an event as input. Complete the function-reminder to take that event as argument and output the corresponding message. Sample Input workout Sample Output You set a reminder about workout function main() { var eventExample = readLine(); // function call setReminder(eventExample) } //complete the function function setReminder() { var eventExample = parsenInt(readLine()); console.log("You set a reminder about" + eventExample ); };

12th May 2021, 3:06 PM
Simisola Osinowo
Simisola Osinowo - avatar
11 Réponses
+ 2
do you understand what you did? explain it to me too
12th May 2021, 3:13 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
function main() { var eventExample = readLine(); // function call setReminder(eventExample) } //complete the function function setReminder(eventExample ) { console.log("You set a reminder about " + eventExample ); };
26th Aug 2021, 9:45 PM
Dami
Dami - avatar
+ 1
I am referring to this line of code with the eventExample variable
12th May 2021, 3:15 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Very good! Insert one space after "about". Like this: ... about "
12th May 2021, 3:34 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Thanks
12th May 2021, 4:21 PM
Simisola Osinowo
Simisola Osinowo - avatar
0
Yes
12th May 2021, 3:07 PM
Simisola Osinowo
Simisola Osinowo - avatar
0
This is code yours? Or you get it somewere?
12th May 2021, 3:09 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Similar to mine Mine was without var eventExample =parsenInt(readline());
12th May 2021, 3:11 PM
Simisola Osinowo
Simisola Osinowo - avatar
0
Yes Am to output you set a reminder about + the eventExample
12th May 2021, 3:16 PM
Simisola Osinowo
Simisola Osinowo - avatar
0
Yaroslav Vernigora I tried this function main() { var eventExample = readLine(); // function call setReminder(eventExample) } //complete the function function setReminder(eventExample ) { console.log("You set a reminder about" + eventExample ); }; But it prints you set a reminder aboutworkout
12th May 2021, 3:24 PM
Simisola Osinowo
Simisola Osinowo - avatar
- 1
is something not working for you again?
12th May 2021, 3:07 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar