Tell us what’s happening:
I am having an issue with creating an .env file inside of repl.it for the challenge.
Your code so far
app.get("/json", (req, res) => {
res.json({“message”: process.env.MESSAGE_STYLE == “uppercase” ? “HELLO JSON”: “Hello json”})
});
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Challenge: Use the .env File
Link to the challenge: