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 trialjohnny louifils
Full Stack JavaScript Techdegree Graduate 18,926 Pointsi though i got it right
i keeps saying that my answer is wrong
johnny louifils
Full Stack JavaScript Techdegree Graduate 18,926 PointsSteven Parker this was the question Define a 'GET' route that will allow us to use the ID of a book within our route actions. Example URL: http://localhost.com/books/123 $app = new \Slim\App; $->(___, function (Request $request, Response $response, array $args) { $id = $args['id']; //route actions }); $app->run(); my answer for the blanks are app, get, and '/books/{id}' but I keep getting the last one wrong
1 Answer
Steven Parker
231,275 PointsThat looks OK to me, so I copy-pasted your answer directly into the quiz and it gave me "Well done!".
Are you including the quotes around the third part? If so, perhaps you're having a browser issue — try restarting your browser.
johnny louifils
Full Stack JavaScript Techdegree Graduate 18,926 PointsSteven Parker yes there's quotes around the third part
Steven Parker
231,275 PointsThat should be the right answer. Try that browser restart.
Steven Parker
231,275 PointsSteven Parker
231,275 PointsIt looks like you're working on a quiz with 5 questions. Which question is it, and what answer did yo give?