Why can't I create a .env file? I still don't understand why I can't see the .env file?

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

Your code so far

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:



Hi. I use replit.com. My problem is that passing this task, I can’t create the .env file. The program reported an error as shown in the picture.

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


If you are using repl, you have to add a Secret, not a .env file.

1 Like



Hi. Well as you said I use replit.com. My problem is that passing this task, I can’t create the .env file. The program reported an error as shown in the picture.

use the environment variables sidebar as it says, it’s the SECRETS tab. the one with a lock-shaped icon

1 Like

image


Yesss. I have successfully applied it. Thank you so muchhhhh :smile: