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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Alfredo Galvez](https://secure.gravatar.com/avatar/287466c0a3481e9402b5c62ff5d3cc2e?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Alfredo Galvez
6,145 PointsI type the right command with the right syntax, yet I get that when I check my work, it tells me I haven't
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Basics</title>
</head>
<body>
<h1>Wellcome to my website!</h1>
<script src="app.js"></script>
</body>
</html>
alert("Warning! This message is going to be distroyed in");
alert("3...");
alert("2...");
alert("1...");
document.querySelector("h1").textContent = "Boom!";
//console.log("The message was distroyed!");
console.log("Begin program");
alert("I am programming!");
1 Answer
![Jason Larson](https://uploads.teamtreehouse.com/production/profile-photos/11651180/micro_JLarson-Crop3.jpg)
Jason Larson
8,359 PointsIt's not checking your file successfully because the alert it's looking for is at the bottom of your file and you have all those other alerts at the beginning, so it's probably finding the first alert and checking the text for "I am Programming!" but it's not in the first alert. Either delete the other alerts or move the "I am Programming!" alert to the top of the file, and it should pass the check.