This community-built FAQ covers the “Code Challenge” exercise from the lesson “Code Challenges”.
Paths and Courses
This exercise can be found in the following Codecademy content:
FAQs on the exercise Code Challenge
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
Need broader help or resources? Head here.
Looking for motivation to keep learning? Join our wider discussions.
Learn more about how to use this guide.
Found a bug? Report it!
Have a question about your account or billing? Reach out to our customer support team!
None of the above? Find out where to ask other questions here!
My question is about “Learn Express: Create a Server” Part 4, Code Challenge. Why does the file path for our get not reference where to grab the data from? It just jumps to /metals
Also why is it /metals when there is no path that should match that. There is the buildingMaterials object and then a metal Array. There is never a “metalS” array or data path?
Part 3 also did this by requiring you to make the path /sausages instead of the actual path /sausageTypes which was the actual Array available. there are no files with that path or data structures named ‘sausages’