Basic Node and Express - Start a Working Express Server

Tell us what’s happening:

It’s saying app should serve the string ‘Hello Express’, I’ve written this code twice & it prompts the same issue.

code:

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

###Your project link(s)

solution: https://3000-loggingout-gitpodfccbac-5twagaxnq90.ws-us121.gitpod.io

Your browser information:

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

Challenge Information:

Basic Node and Express - Start a Working Express Server

Welcome back to the forum @Ynogetback

Try adding the function keyword.

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Happy coding