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 trialhakop taturyan
245 Pointsafter entering my code in the workspace, i preview in and open the console but my code does not appear, shows no errors
alert("Hello, world!"); console.log("Hello from the console."); alert("Thanks for visiting"); document.write("<h1>Welcome to my web page.<h/1>");
after i preview this code like the video tells me to, i open the console and it doesnt show up, īģŋ rightclick.js:25 allow right click processing http://port-80-yzo5sekhlj.treehouse-app.com/
that is what apears
1 Answer
Steven Parker
231,271 PointsDid you remember to save your work in the editor before you refreshed the browser?
hakop taturyan
245 PointsYes, it worked thank you! still a beginner getting the hang of it
Steven Parker
231,271 PointsSteven Parker
231,271 PointsEither you deleted the workspace, or tried to share a direct URL to it (which is temporary and only exists while you are using it).
You can use the snapshot function in the workspace and provide the link to that, which will persist as long as you retain the workspace.