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 trialShreemangal Sethi
Full Stack JavaScript Techdegree Student 15,552 PointsI don't get the example.txt file when i hit refresh.
After running the file, putting the details and hitting enter i do get the example.txt file but it says no file to preview as i open it. Can someone tell me why is that. Thanks
1 Answer
Jeff Muday
Treehouse Moderator 28,720 PointsI am assuming you are working in Treehouse workspaces.
Normally, clicking on the file you created-- in the video "example.txt" would display it in the workspaces editor. The workspaces environment is highly dependent on the JavaScript settings in your browser, so make sure you don't have any extraneous ad-blockers or coupon browser extensions. And it is a good idea to totally restart the browser if you are in a position to do so.
If this approach doesn't work, you can "manually" display the example.txt file by using the command
$ cat example.txt
or
$ less example.txt
or if you want to edit it, using the old-school text editor "nano"
$ nano example.txt