Where do I write my jQuery in Glitch?

I am currently on the second backend node.js challenge.
What is confusing me is where do I write jQuery to communicate with an API.
Also I am not able to use navigator.language to return the browser language on the routes.js.
Here’s a link to the project.