Relative Content

Tag Archive for javascripthtmlsocket.io

My socket.io server code isn’t running when everything else is

I’m going to preface this by saying, I’m not that great at coding, so sorry if my code is bad.

What I’m trying to do is make an socket.io server, but I’m having trouble with the server code not running for some reason. Everything else runs, but not index.js.
Index.html: