Use the .env File not working

Tell us what’s happening:

I did the challenge as requested and confirmed that it works, but even so it does not approve me

Your project link(s)

Challenge: Use the .env File

Link to the challenge:

You are supposed to be putting all your code in myApp.js and not server.js. That is the reason you see the following comment at the top of server.js.

/******************************************************
 * PLEASE DO NOT EDIT THIS FILE
 * the verification process may break
 * ***************************************************/

Also, the following line is not the correct response based on the instructions:

    res.json({"message": "hello json"});
1 Like