Basic Node and Express - Meet the Node console

I have been stuck here for hours now. What am I doing wrong?

I use replit.

let express = require(‘express’);
let app = express();
let port = 3000
app.listen(port, () => {
console.log(Hello World)

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; TECNO LC7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

Challenge: Basic Node and Express - Meet the Node console

Link to the challenge:

Actually you do not need to use “app.listen” in this lesson, just “console.log(“Hello World”)”. Then run the project pressing the button “Run” and copy the link that will appear in the left page.


I actually tried this initially. Guess I didn’t copy the right link.

Thanks a ton! It worked.

1 Like

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