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 trialpayton johnson
2,971 PointsMake sure you add this `console.log()` at the end of the script.
I have no idea what this is asking me.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Basics</title>
</head>
<body>
<script src="app.js"></script>
</body>
</html>
console.log("Begin Program")
alert("I am Programming!")
alert("Welcome to JavaScript Basics")
console.log('End Program')
1 Answer
Steven Parker
231,236 PointsThe instructions only ask for one alert message (in task 3). Adding another one is confusing the validation mechanism and causing a "Bummer" response even though you did task 4 (the 2nd log message) correctly.
Just remove the 2nd alert to pass the challenge. Be sure in future challenges to do only what the instructions ask for!
Also, while not technically necessary, it's a "best practice" habit to always end a statement with a semicolon.