Basic Node and Express - Use the .env File

Tell us what’s happening:

I tried adding the check for process.env.MESSAGE_STYLE within the request handler. Yet not getting it to pass

Code: https://freecodecam-boilerplate-n1okqkahnti.ws-us115.gitpod.io/

https://3000-freecodecam-boilerplate-n1okqkahnti.ws-us115.gitpod.io/json

###Your project link(s)

app.get('/json', (req, res) => { 
    const message = {"message": "Hello Json"};
    if (process.env.MESSAGE_STYLE == "uppercase") {
        message.message = "HELLO JSON";
    } 
    
    res.json(message);
});

solution: https://3000-freecodecam-boilerplate-n1okqkahnti.ws-us115.gitpod.io

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Challenge Information:

Basic Node and Express - Use the .env File

Where did you put the .env file? And did you require the dotenv package?