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 trialfrank din
Full Stack JavaScript Techdegree Student 1,381 PointsI am using console.log to print to the console, but the system says I didn't use 'console.log'. What's wrong?
console.log("Begin program") ;
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Basics</title>
</head>
<body>
<script type="javascript" src="app.js"></script>
</body>
</html>
console.log("Begin program");
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 PointsHi Frank,
I think that something is broken. I did that challenge several months ago and what you have looks right. I just went back in again and when I put...
console.log("Begin program");
I get that error that says I didn't use console.log()
I wrote an email to Treehouse support, and told them to please put a comment here when it is fixed.
Sorry, that is really frustrating.
2 Answers
Kara Proulx
Treehouse StaffHi Frank!
I tested the Code Challenge with the same answer on our end, and it did pass as expected:
console.log("Begin program");
I'm not finding any issues on our end with this challenge, and also see other students that have recently passed it as well with the same answer. I've made sure to pass along the feedback!
Geoffrey Lugara
Front End Web Development Techdegree Student 8,104 PointsSorry to be replying to an older thread, figured it was more useful than making a new one on the same topic. I just reached this point in treehouse's course. Sadly it seems I'm receiving the same error as the OP, I've tried on 3 different browser to no avail.
Michael Kobela
Full Stack JavaScript Techdegree Graduate 19,570 PointsMichael Kobela
Full Stack JavaScript Techdegree Graduate 19,570 PointsNot sure what you meant by systems says I didn't use console.log. Is your app.js file in the same folder as index.html? Or could it be in a subfolder js?