- 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");
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
+ 2
It works on my machine 😂
+ 1
⭐Nakul Pasi S/0 Krishna Lal Pasi⭐
Thanks mate. I just figured it out. It now works
0
I ran the code and it worked just fine
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 😩😩😩😢😢
0
Can you send us the code that gives you error?
0
Bono
This part below gave me error
👇🏾👇🏾👇🏾👇🏾👇🏾👇🏾
function setReminder(eventExample){
console.log("You set a reminder about " + eventExample);
}
setReminder("workout");
0
I mean send us the whole code (it's link)
like this:
https://code.sololearn.com/WoEdJbU2tXto/?ref=app
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
0
Bono
It didnt give me error on other IDE though just on sololearnApp.
Hope you get my point right?
0
Bono
No it didnt.
I guess ill just keep looking.
Thank you for your time.😢😢😢