Hey next time could you add your code surrounded by backticks. You can do so by using the ( </> ) button in the editor it greatly improves readability.
As for your code I believe you’re missing the return for both response.json‘s
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
I am wondering, does that project have an env file?
I mean to say, did you create an env file and store message style?
also, I was checking your solution link on that challenge. and it said, " The response of the endpoint /json should change according to the environment variable MESSAGE_STYLE".
it seems the env file is missing? that is why I am not sure about it.
Anyone can schedule me a videochat on this. I really want to pass and having a video discussion will make this better. I am free after 4:00 PM EST Today.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.