in srvr.js get the port number from the environment variables const port = process.env.PORT || 8080
in CustomClock.js the way CSS is handled looks like it could cause issues, it would be better to have separate CSS files. However I'm not experienced enough with custom components to say how I think this should be done
index.js appears empty
Overall, the code looks good but following some of the comments above will improve things a bit. Other things to consider
host this on github pages so other people can see it, this is a great way to link things to host things like a portfolio so well worth getting to grips with
In no particular order
const port = process.env.PORT || 8080
Overall, the code looks good but following some of the comments above will improve things a bit. Other things to consider