- 2

Help 😢😢😢

Please what is wrong with this code below? It keeps giving me error saying “Fix bug” function main() { var eventExample = readLine(); // function call setReminder(eventExample); } //complete the function function setReminder(eventExample){ console.log("You set a reminder about " + eventExample); } setReminder("workout");

11th Jan 2022, 6:12 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
12 Answers
+ 2
I get your point..but it worked fine with me on Sololearn, so if you can show me your code on Sololearn app (not a code coach) it would be better Does this give you an error? https://code.sololearn.com/WoEdJbU2tXto/?ref=app
11th Jan 2022, 7:08 PM
Bono
Bono - avatar
+ 2
It works on my machine 😂
11th Jan 2022, 8:38 PM
SAM
SAM - avatar
+ 1
⭐Nakul Pasi S/0 Krishna Lal Pasi⭐ Thanks mate. I just figured it out. It now works
12th Jan 2022, 3:49 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
I ran the code and it worked just fine
11th Jan 2022, 6:47 PM
Bono
Bono - avatar
0
Bono i know right? But it didnt not run on solo app. It is a practice question and sololearn app keeps telling me error 😩😩😩😢😢
11th Jan 2022, 6:51 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
Can you send us the code that gives you error?
11th Jan 2022, 6:54 PM
Bono
Bono - avatar
0
Bono This part below gave me error 👇🏾👇🏾👇🏾👇🏾👇🏾👇🏾 function setReminder(eventExample){ console.log("You set a reminder about " + eventExample); } setReminder("workout");
11th Jan 2022, 6:56 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
I mean send us the whole code (it's link) like this: https://code.sololearn.com/WoEdJbU2tXto/?ref=app
11th Jan 2022, 6:58 PM
Bono
Bono - avatar
11th Jan 2022, 7:00 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
This is a code coach link..try solving the code coach in a private code and if it give you an error send it to us
11th Jan 2022, 7:03 PM
Bono
Bono - avatar
0
Bono It didnt give me error on other IDE though just on sololearnApp. Hope you get my point right?
11th Jan 2022, 7:05 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
Bono No it didnt. I guess ill just keep looking. Thank you for your time.😢😢😢
11th Jan 2022, 7:13 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar