Basic Node and Express - Start a Working Express Server

Tell us what’s happening:
well, it seems I created the function as suggested. But it doesn’t render the string.

app.get(“/”, (req, res) => {
res.send(“Hello Express”);
});

Your project link(s)

solution: boilerplate-express - Node.js Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Challenge: Basic Node and Express - Start a Working Express Server

Link to the challenge:

There is no such code in the app on your Replit.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.