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 trialAdam Fournace
3,125 Pointsconsole.log("Begin program"); <---Doesn't work here but does run in the code editor.
Keeps saying "Bummer: You didn't use console.log()
2 Answers
Steven Parker
231,236 PointsYour editor probably doesn't care where you put that, but for the challenge it must go in the app.js file (on the tab with that name). Placed correctly, that will pass task 2.
Adam Fournace
3,125 PointsI placed it in app.js. It worked when I tried Firefox instead of Opera. It must be a browser compatibility issue.
Thanks for taking the time to look at it and reply!
Adam Fournace
3,125 PointsAlso, it doesn't appear in the console in "Inspect element" on Opera but it does show the logs on Firefox. I have not tested other browsers yet. I still learned some things from this bug about differences in web browsers that will help me in the future.
Steven Parker
231,236 PointsI wouldn't expect the browser to affect the challenge outcome. And you shouldn't need the "inspect" facility to complete the challenge.