I see what happened, the forum holds any post with a link for moderation (because of spammers, unfortunately). Looking at your screenshot, I can see two problems:
* You’re mixing code in a file with the REPL
* It looks like you didn’t save the file (control + s)
Not sure what the reason is here, but I’d suggest staying in the REPL and getting it working there first before you start creating and using files.