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.
See this post to find the backtick on your keyboard. Note: Backticks (`) are not single quotes (’).
In general, for Express.js apps, it is an anti-pattern to have multiple definitions for the same route.
Also, in this case, it is the reason for not meeting the challenge requirements. The challenge expects the response to change, based on the current state of the MESSAGE_STYLE environment variable.
As it stands, the response will only be defined once (at runtime). After this, the response will be the same, no matter what the environment variable is.
You have posted a screenshot without saying anything, and have not changed your code since the first post…
The more information you give us, the more likely we will be able to help. We will not post solutions, but help you realise the answer on your own terms. This is a learning platform, not a solution/homework solving platform.
yes I know … i keep on changing it and the message I get is “not found” or when i paste the link it doesn’t pass. Are there some type of hint or example if thats possible
You can go to the first lesson, and re-clone the boilerplate by doing one of the following:
A) Clicking on the repl.it link provided
B) Manually cloning the boilerplate repo from GitHub, and importing it into Repl.it or any other service you like.
Hope this helps. Keep at it, it will make sense, eventually
Hi I am trying redo the Node & Express challenges and it is not allowing me. So, I have no idea what else to do. Also I tried working on it on Glitch and still nothing. Can someone please help
I cannot see the whole error in the console, but it is an error with your app, and not freeCodeCamp’s side. So, I recommend you carefully look at the error, to get an idea of what the problem is.