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 trialMelissa Kerns
8,686 PointsNo Content?
I have created my text files Nick Pettit.txt and crazy marvin.txt within the 'pages' directory. In the txt files I wrote a sentence - ex "former treehouse teacher" but this content doesn't show when I go to http://localhost:4567/crazymarvin. Only the @title shows. Why wouldn't the content show? I'm not using Workspaces - I'm using Visual Studio Code on a mac.
2 Answers
Jay McGavren
Treehouse TeacherTry typing a space between "crazy" and "marvin" in the path in your browser's address bar. Your browser should automatically escape the space character so that the resulting URL is http://localhost:4567/crazy%20marvin. (You could also try renaming the text file so it has no space: "crazymarvin.txt".)
Tennon Barnett
4,504 PointsI had this issue also. I found out when I was typing out crazy marvin in my url bar, I was not capitalizing the first letter in both words. When I typed out exactly how i save the .txt file (Crazy Marvin), it display the content of the file.