Struck in Environmental variable

Tell us what’s happening:
I am unable to solve this challenge. can anyone help in solving this?

Your project link(s)


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Challenge: Use the .env File

Link to the challenge:

Maybe, app.get should nest the if/else statement?

did u get to know how to solve this ??

if no,
if ur using replit…
on the left hand side u hav the files and stuff below tht u can find the secrets or the environment files… so use tht and type in the name of the uri and then below the uri code then it will work.

thanks for your help. but i tried all the ways nested app.get in if and converted the response string to uppercase. and passed to string but still its showing its not passed the test case.
I am not getting what you mean by URI. i have just stored the envioronmental variable in secrets and and given key value pair MESSAGE_STYLE = “uppercase”

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