I am very confused at how express works. I don’t see any of the /json files, I don’t understand how the index.html and css page interact with the express code. For the challenge, the code is getting the The response of "/json" does not change according to MESSAGE_STYLE
/** 6) Use the .env file to configure the app */ app.get("/json", function(req, res){ if(process.env.MESSAGE_STYLE == "uppercase") res.json({"message": "HELLO JSON"}); else res.json({"message": "Hello json"}) });
edit - Now I know why it didn’t pass -> I forgot an equals sign in my ‘if statement’. I’m so silly. Your code still helped me, just not in the way I originally thought it did