New to the course

After creating form with node js. its not displaying in local host. Kindly refer screenshot and provide your inputs.

Hi,
I don’t know Node but I suggest you open the dev tools and check the network tab.

On your page, check the content-type header.

Well, there is no code that console.log things. So there will be no output on the terminal. That is exactly what you see.

So there are three possibilities:

  1. Goto you browser and type localhost:8000. You should see reply, eventually you need the developer tools. (Tryp ctrl+shift+i, a debug terminal should raise in the window)
  2. Use the command line tool curl and doe a curl localhost:8000
  3. Use the Tool Postman and configure a get request.

regards,

Stefan