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

JavaScript JavaScript Basics Hello, JavaScript! Debug JavaScript in the Console

after 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

Steven Parker
Steven Parker
228,978 Points

Either 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.

1 Answer

Steven Parker
Steven Parker
228,978 Points

Did you remember to save your work in the editor before you refreshed the browser?

Yes, it worked thank you! still a beginner getting the hang of it