Tell us what’s happening:
Describe your issue in detail here.
please tell me what to do and what is happening in laymen terms because i didn’t even understand solution of this challenge,
i focused on this " Then, in the /json
GET route handler you created in the last challenge, transform the response object’s message to uppercase if process.env.MESSAGE_STYLE
equals uppercase
. The response object should either be {"message": "Hello json"}
or {"message": "HELLO JSON"}
, depending on the MESSAGE_STYLE
value.
Note: If you are using Replit, you cannot create a .env
file. Instead, use the built-in SECRETS tab to add the variable."
please tell me
Your project link(s)
solution: boilerplate-express-3 - Replit
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36
Challenge: Use the .env File
Link to the challenge: