Ask coding questions

← Back to all posts
Why cant i make an .env????
TechNinja (0)

I am trying to make a .env for this project, but it just says that i cant anymore, and that i need to check out the environmental variables sidebar.

Answered by EpicGamer007 (1753) [earned 5 cycles]
View Answer
EpicGamer007 (1753)

first of all, you cannot access .env with html/css/js so there i no point in trying to make a ,env in the first place. In regards to where the .env is now, check out

TechNinja (0)

Thanks to all who answered! =D

Bookie0 (6381)

According to this

Note that you cannot set environment variables for repls that have only a frontend, e.g. HTML repls.
So you won't be able to use .env files or variable in a HTML repl.