Use the .env File can't complete challenge on

repl doesn’t allow you to add .env files anymore and the alternate that they have is different in the sense that it uses const mySecret = process.env[‘MESSAGE_STYLE’] instead of process.env.MESSAGE_STYLE so I think maybe the checker isn’t picking up on that


Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

no, it works if you use correctly that

can you show your code?

I’m sorry, I figured it out but don’t know how to delete this post.

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