Use the .env File not complete

Tell us what’s happening:
Describe your issue in detail here.
It seems that this challenge and the next 2 have a problem passing the test. My solution is never accepted.
Is it true what I found or am I wrong and do I have to try again and again to succeed?[]
The solution to this exercise, I used Replit:

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/96.0.4664.45 Safari/537.36

Challenge: Use the .env File

Link to the challenge:

Are you using the Secrets tab in the replit to add relevant environment variable?

I use Secrets tab.

However, it is unclear to me what I should do with this “Secrets” after I have completed it.

The key should be MESSAGE_STYLE, while the value just uppercase

First you’ll have to add it using secrets in .
Also you’ve made a small mistake in reading MESSAGE_STYLE . Try console logging it first, I’m sure you’ll be able to figure it out.

in key you should put MESSAGE_STYLE and then input the value as uppercase

Thanks sanity and sandeep 5. You have been a real help to me and I will go further with this chalange.

1 Like

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