Basic Node and Express - Use the .env File

Tell us what’s happening:
The automatic tests are failing even though the code used is correct, it’s using the method required and it’s outputting the expected response.

I’m using repl if that makes any difference. This is the link:
https://boilerplate-express.alanjurado.repl.co

Your code so far
app.get(“/json”,(req,res)=>{
const mySecret = process.env[‘MESSAGE_STYLE’]
let response = “Hello json”.toUpperCase()
if (mySecret === “uppercase”) {
response = “Hello json”.toUpperCase();
} else {
response = “Hello json”;
}
res.json({message:response})
})

Your browser information:

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

Challenge: Basic Node and Express - Use the .env File

Link to the challenge:

What url are you submitting?

Where did you put this code?

https://boilerplate-express.alanjurado.repl.co

And the code is going into the repl compiler.

I can’t actually see the code from that link, but that link is working fine for me

Alright thank you I’ll figure something out.