That very much depends on how you evaluate code. Ctrl-Enter runs the current line or code block, where code block is defined by indentation (unless you’re on the first line of a module definition, IIRC). So you might want to try using one of the “Run File” commands instead.
Also worth noting that Juno isn’t really developed anymore and you might want to give the Julia extension for VS Code a go.