The ‘/form/1’ is simply a specification that I must adhere to which is to feed the HTML page via a REST API. As you can see the file is loaded and displayed correctly. But doing F12 in Chrome, the Network tab indicates that all dependent resources (javascript libs) won’t load (HTTP 404).

I tried with an absolute path ‘/date.js’, relational ‘date.js’ and what I was initially trying ‘js/date.js’ (in a folder). But nothing works.

This is my first few days on glitch (having many problems, not too impressed) and just basic knowledge of Node.js with limited experience. I’m assuming all files in the root are served directly from your servers?

I tried that but continue to receive the following Cannot GET /NewPage.html error. Is there anything else that needs to be configured? I have tried href="/views/NewPage.html", href="/NewPage.html" etc. (Yes the html page is created in the project) Resolved You need to add routing app.get("/NewPage.html", function (request, response) { response.sendFile(__dirname + '/views/NewPage.html'); });

If the pages are under public/NewPage.html and you have express serving static assets with app.use(express.static('public')); then it should "just work". If your pages are in views or another directory then you'll need to explicitly create routes for them. I hope this clears it up

Will be trying them to see if it works. Although exposing a ‘public’ folder (or a ‘js’, ‘css’ and ‘images’ would be preferred) over adding routing maps in Node.js.

Now I just have to figure out why when I copy files in the Console it never shows up in my project. Same goes with creating directories, etc.

With your current setup, your jQuery files should be in a directory called ‘public’ e.g. public/jquery…

We recommend using the editor directly to create files. The console and editor file tree don’t automatically sync. Use the command ‘refresh’ to get the file tree editor to show updates made with the console.