Ask coding questions

← Back to all posts
HTML with Node.JS?
Lawlzer (1)

How can you do Node.js and HTML on the same repl? (or on different repls, but link them or something)
e.g for a simple thing like pressing a button on an HTML website, that connects to a database and does anything - you can't connect to the DB because that requires Node, and I'm not sure if you can (or if I'm really blind or missing something) do it.

Edit: For this specific website, I'd like to try to connect to my DB and store/retrieve information from there. Any specific/possible way to do this on repl?

Comments
hotnewtop