Where is the .env file? Cannot complete since file not found

Tell us what’s happening:
This lesson asks us to add a line of code into the .env file.
However, on repl.it I cannot find the .env file anywhere???

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/86.0.4240.198 Safari/537.36.

Challenge: Use the .env File

Link to the challenge:

Welcome, chrisarrow.

You need to create the file.

Hope this clarifies

what should I name the file?
can it be anything like config.env or does it have to be specific?

It has to be named .env - the . (dot) must be included.

I would suggest reading more about it here:
How to Use Environment Variables the Right Way (freecodecamp.org)

Hope this helps

1 Like