Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics (2015) The Request and Response Objects in Express Review - The Request and Response Objects

The request object stores route parameters in the parameters object. This should be true when I type req.params

req.params give me an object. I put true on the quiz, but apparently that's incorrect.

3 Answers

Darryn Smith
Darryn Smith
32,043 Points

If the distinction being made here is between "params" and "parameters" it is my opinion that questions such as this which focus on semantic nuances serve only to confuse rather than teach.

I understand that as coders we have to be able to spot these niggling differences in our code. But if that is the nature of the question, then the question itself, within the context of the quiz, should change the font or style of the word "parameters" in order to signify a specific reference to actual code.

If the creators of the course and the quiz disagree, then someone should have taken the time to explain the answer when the wrong answer is given, as I have seen in some treehouse quizzes.

Colin Marshall
Colin Marshall
32,861 Points

I got this one wrong myself when I took this course and the conclusion I came to was that the answer is false because the question says the parameters object when it is technically the params object.

I got this one wrong too.... the answer must be the aliens.

Same here. It should be bold or emphasized somehow