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

PHP Introducing MVC Frameworks in PHP Model View Controller MVP

johnny louifils
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
johnny louifils
Full Stack JavaScript Techdegree Graduate 18,926 Points

i though i got it right

i keeps saying that my answer is wrong

Steven Parker
Steven Parker
231,275 Points

It looks like you're working on a quiz with 5 questions. Which question is it, and what answer did yo give?

johnny louifils
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
johnny louifils
Full Stack JavaScript Techdegree Graduate 18,926 Points

Steven 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
Steven Parker
231,275 Points

That 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.