I was working on the freecodecamp ‘use the .env’ challenge using repl.
but i am unable to access my secret environment variable. console logging it gives undefined . if i try to console log process.env, there is not MESSAGE_STYLE property there.
Oh now its working, i removed the ‘’, and then its getting console logged properly, there might be something to do with me the ’ character not getting escaped causing error in creating the key, maybe.
Thanks a lot for the help, i was stuck on this for quite some time now