Difficulty working past syntax errors

This is just another example of where the documentation should use graphql variables so that people do not slip up with syntax errors in their queries

See this:

Aside: If you want to know how to pass variables in JavaScript code, then the example in this question should give you an idea.