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 trialKhalid Almalki
173 PointsBummer: Make sure you print 'Begin program' in the console. i did it right but it's not responding
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Basics</title>
</head>
<body>
<script src="app.js"></script>
</body>
</html>
alert("What's wrong!");
console.log("Begin program!");
2 Answers
cashcat68
Courses Plus Student 4,510 PointsFor this challenge, where do you 'inspect' the page so that you can see the console.log message "Being program"?
Steven Parker
231,236 PointsThe instructions ask you to print "Begin program" to the console. Note that the string has no punctuation in it. But the code above adds an exclamation sign, which the challenge is not expecting.
Also, the instructions did not ask for an alert. For best results with all challenges, do only what the instructions ask for. Doing other things (even if the code runs) can confuse the validator and cause the submission to fail.
Steven Parker
231,236 PointsSteven Parker
231,236 PointsChallenges often do not display any result, but they have a mechanism that verifies that the code does the proper thing.