Connecting MongoDB Atlas to Local System Command Prompt / SyntaxError: unexpected token: string literal

You should use MongoDB University course specific forum for the course related question.

You are running the mongo command while you are already in the mongo shell. You have to exit the mongo shell and run your command in the bash prompt of the IDE.