12 Has anyone got a solution for the IF line? Thanks



Add an opening brace { to the end of your first line, then put a closing } at the end, before the console.log

You also need to call console.log on 5 hours and 8 hours :slightly_smiling:


Don't console.log the call for the function.
Instead of:
That 's my answer, at least.


No @benjnev is correct at least error are the missing {} that should wrap the function body. Using console.log is perfectly fine and it would even be necessary if you'd have more than one function call as the default echo shows only the last value in your code.