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) Using Templates with Express The β€œresponse.render” Method

Ryan Behrens
Ryan Behrens
1,949 Points

I followed tutorial up til this vid. there is no post.jade file that appeared in my app?

there is supposed to be a post.jade file under the src folder, mine never appeared

4 Answers

You need to switch current branch to see it: git checkout responseRenderMethod

the simplest solution, to me, is to download the "project" file from the "Downloads" tab and extract the file to your templates folder (i.e. C:\Program Files\Git\treehouse-express-basics\src\templates)

amadeo brands
amadeo brands
15,375 Points

Bit lame ... best for them to put it in the teachers notes.

Charles-Antoine Francisco
Charles-Antoine Francisco
27,426 Points

Try to refresh the folder to see if the new jade files appear after running

git checkout responseRenderMethod