What is the problem with this Julia code?

I would assume the problem is with VSCode, and not the Julia code.