Tell us what’s happening:
I am unable to solve this challenge I am correctly writing the code without any syntax error as well
my code
‘’’ app.get(“/json”,function(req, res){
if (process.env.MESSAGE_STYLE === “uppercase”) {
res.json,({“message”: “HELLO JSON”})
} else {
res.json,({“message”: “Hello json”})
}
})‘’’
Please explain how to do this.
###Your project link(s)
solution: https://e1777f23-350c-48e2-976f-38b4b12114b2-00-1t4o8ocsy95js.sisko.replit.dev
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Basic Node and Express - Use the .env File