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
Sam Nicholson
11,912 PointsIssue copying from Workspace to other text editors
Hi there,
I'm trying to create my own version of the geolocation site demonstrated in the 'using the geolocation api in javascript' video.
I thought i'd start by making some small to changes to the code supplied from Workspaces but when I copy it line-for-line into either Sublime or TextEdit it doesn't display the distance in miles as it does when previewed from Workspaces.
I've tried previewing in Chrome or Safari and have checked that my location and javascript settings are enabled in both.
I'm confused! Does anyone know what might be happening?