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 trialLogan Detering
1,953 Pointswhen ever I launch my code or preview my .js file in workspace it doesn't give any of the prompt, alert or document.
Problem in workspace
3 Answers
Henrik Christensen
Python Web Development Techdegree Student 38,322 Pointsplease post your code :-)
Jennifer Nordell
Treehouse TeacherHi! Henrik Christensen is correct. This is likely easiest to troubleshoot if we can see your code or alternatively, see a snapshot of your workspace. But before we do that, let's check some basics first. Make sure you've saved your file. Reload the preview and refresh the browser. If that doesn't work, try clearing your browser cache and repeat this process. If it still isn't working, we're going to need to see the code
Doc Collins
7,087 PointsMy code that's failing is olert();
A new web page is started but doesn't show the alert as it appears in the Beginning Javascript class. I've tried in both IE 11.0.35 and Firefox 47.0.
Jennifer Nordell
Treehouse TeacherThat should be alert() instead of olert() as you've posted. Note the 'a' instead of the 'o'.