I don't get the use of the .env file

with that your variable has value of "uppercase;"

Spot on! :clap:
Will try that right away!

Well, I changed it to just MESSAGE_STYLE:uppercase and still it doesn’t work for me. Am I having the .env file where it should be?

I also noticed that the live app is not rendering the .css file properly anymore.
The body background-color should be black and it is white.

I don’t see a .env file in the project you linked to?

Also, it’s MESSAGE_STYLE=uppercase not MESSAGE_STYLE:uppercase

.env on repl is only visible to the author/contributors.

There is a .env file and it certainly has a MESSAGE_STYLE=uppercase

@jenovs Did they change that?

It used to be it would just be an empty file, but you would still see the file.

I don’t know if they changed it, but I had a similar case (“missing” .env) few months ago.

Odd the docs still seem to suggest you would see the file but not the content.
https://docs.repl.it/repls/secret-keys


@flautisimo Anyway, I can confirm what others have said. I forked your project and added the .env with the required content and it passes the test for me.

Where are you adding the file? It should be in the root.

If you look at the browser console when you submit do you get any errors? What about the network tab in the dev tools is anything showing up in red?

You mean the when I am on the FCC page for submitting? Should I open the browser console on the page?

I don’t know what on earth happened but it just passed the test!
So odd!!!
Anyway, you all guys are a great community!!!
Happy weekend and keep safe!

Great, happy coding, and happy weekend to you too.

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