Si trato de cambiar "
const express = require("express"); const app = express(); app.get("/currenttime", function (request, response) { response.send("<h1>" + new Date().toDateString() + "</h1>"); }); // localhost:3000/currenttime app.get("/", function (request, response) { response.send("<form><label>Your Name</label><input type='text'></form>"); }); //localhost:3000/ app.listen(3000);Debe agregar una etiqueta de cierre para su elemento de entrada.
const express = require("express"); const app = express(); app.get("/currenttime", function (request, response) { response.send("<h1>" + new Date().toDateString() + "</h1>"); }); // localhost:3000/currenttime app.get("/", function (request, response) { response.send("<form><label>Your Name</label><input type='text' / ></form>"); }); //localhost:3000/ app.listen(3000);