Displaying function values onto an already existing EJS template
Query asked by user I need to display a value from a JS file (indexRoutes.js) into an input box on an EJS template (calculator.ejs), I have included the script via a footer I have made. This is the code for the JS Function I have: router.post(“/calculator”, (req, res) => { let ethAddress = req.body.ethereumAddress; /*BEGINNING […]