Tell us what’s happening:
The code seems to be work just fine. Even the webpage handling the /json route correctly. Still, submission does not take place.
Here is the link of my glitch
Your code so far
app.get('/json', function (req, res) {
if(process.env.MESSAGE_STYLE === "uppercase"){
res.json({"message": "Hello json"})
}
})
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.
Challenge: Use the .env File
Link to the challenge:


