Comparison in the .env file doesnt give expected result

Tell us what’s happening:
Hi i’m working on the .env file and have trouble completing it.
The string comparison doesn’t work as it should.

I tried to console.log, what is supposed to be at process.env.MESSAGE_STYLE and got different results when comparing directly or via variable.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.

Challenge: Use the .env File

Link to the challenge:

Catched my own mistake.
In the .env file there shouldn’t be a semicolon

MESSAGE_STYLE= uppercase

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