Thanks Dan, Yes I noticed the semicolon and after I added it it was indeed fixed.
Semicolons are tricky, sometimes you need them and sometimes they will break the expression.
However, after that it works fine, what error are you referring to?
Also, what are “?” and “:” in the conditional? Are those replacements for the flat and curly brackets and the else statement?
Thanks a lot for your help.