I don't understand how to use the ,env file. I need guidance please

Tell us what’s happening:
Describe your issue in detail here.

Your project link(s)

solution: https://replit.com/@alcidesgomez/boilerplate-express

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

You are asked to use MESSAGE_STYLE for the name and uppercase for the value. You have process.env.VAR_NAME === "allCAPS" in your code.

Use the replit UI for adding environment variables. Give it the name MESSAGE_STYLE with a value of uppercase. Now access it using that name and check for that value.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.