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 trialmin chin
581 PointsAlert is not coming up.
On my workspace my alert(); is not popping up. Im using chrome browser.
Steven Parker
231,271 PointsTry making a snapshot of your workspace and provide the link.
Jennifer Nordell
Treehouse TeacherWithout seeing your code, it's very difficult to say what the problem is. But let's check some basics. Make sure you've saved your file. Launch the preview and then refresh the page. If this still does not work, try clearing your browser cache and reload the page again. If none of the above work, we will need to see the code
2 Answers
min chin
581 Pointsalert(); <--- thats my code
Jennifer Nordell
Treehouse TeacherIf you're typing this in the console, and it still doesn't come up, then you probably need to make sure you don't have any browser extensions/pop-up blockers activated on the browser.
Try typing it directly in the console and see if it comes up without using workspaces. Keep in mind that the code in the workspace is still run in the browser.
Kevin Korte
28,149 PointsAs Jennifer said, how are you entering alert()
? In the console, in a script tag, in a seperate js file you're including in an html file? There is not enough info here to help you well, unfortunately.
min chin
581 Pointswhen i use my chrome javascript console, alert(); pops up fine.
Jennifer Nordell
Treehouse TeacherOk, and just to confirm, you've cleared your browser cache and reloaded the page?
Tim Rach
Full Stack JavaScript Techdegree Student 25,127 PointsTim Rach
Full Stack JavaScript Techdegree Student 25,127 PointsIt would be awesome to see your code so we can take a look why itΒ΄s not opening