Meet The Node Console output

Tell us what’s happening:
Modify the myApp.js file to log “Hello World” to the console.

Your code so far
var express = require(‘express’);
var app = express();

/** 1) Meet the node console. */

app.get(’/’, (req, res) => res.send(“Hello World”))

Your browser information:

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

Challenge: undefined

Link to the challenge:

Try

app.get(’/’, (req, res) => console.log(“Hello World”))

try
app.get(’/’, (req, res) => {res.send(‘Hello World!’)});

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.