Hi, could someone help me with this task?
The task is this: Sometimes it is very useful to set reminders to help you accomplish all your tasks. The program you are given takes an event as input. Complete the function reminder to take that event as an argument and output the corresponding message. input example workout output example You set a reminder about workout Use the + operator to concatenate string values together. eg console.log("JS is " + "fun!") will output "JS is fun". And this is the code that the task give me and in the one I'm working function main() { var eventExample = "workout"; setReminder(eventExample); } //completa la función function setReminder(eventExample) { alert("Remember to" + " " + eventExample ) } setReminder("workout"); But is not working, and honestly I'm a bit lost and I don't know what to do, if somebody could help it would be great