Basic Node and Express - Use the .env File

Tell us what’s happening:

I’m using Gitpod to do basic node and express learning, I got stuck at the “use .env file” challenge. It will take another .env file and not the new one i created. Or at least it seems that way when logging on console the process.env, it shows many variables that do not exist in mine, and it considers MESSAGE_STYLE=“uppercase” undefined, I tried MESSAGE_STYLE=uppercase too, and logging const mySecret = process.env[“MESSAGE_STYLE”]. Nothing is working.

###Your project link(s)

solution: https://3000-freecodecam-boilerplate-8jixz95ppt9.ws-eu114.gitpod.io

Your browser information:

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

Challenge Information:

Basic Node and Express - Use the .env File

Hello, the link to your solution is showing an enternal service error 404.

This 3000-freecodecam-boilerplate-8jixz95ppt9.ws-eu114.gitpod.io page can’t be found

are you using dotenv? can you share your code and also the env file?

Dotenv is included in the gitpod project

you need to config it in the file like instructed

can you share your code and your .env file?