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 trialelizabethkari
15,539 Points"Magical appearance" of post.jade file.
I have an issue with the "magical appearance" of the post.jade file. I see earlier someone questioned this, and was just advised to checkout this branch. I've been following along with these videos and making my own version on my local machine. Checking out a new branch totally negates the learn from doing it experience. I could just cut and paste, but I'm curious: why not give instructions on the why and how of creating a post.jade file? Won't we need to know how to do this, or something like this, if we're using Jade with Express? Why skip teaching this step?
2 Answers
christopherkaczenski
16,079 PointsThe Jade file that we copy is basically HTML because it doesn't have any fancy scaffolding or partials added to it. You can use the jade-lang.com website to see how the equivalent HTML looks.
Van Doan
32,285 PointsI think he skipped the step to save some time and we've done something similar before.
If you create your own jade file with the same content, it will / should work, as it did for me.