Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


I started solving the challenges at the end of the lesson for beginner. I got stuck in a question 3/4

I started solving the challenges at the end of the lesson for beginner. I got stuck in a question 3/4 Challenge Task 3 of 4 Next, write the code for an alert dialog with the message "I am Programming!".

my answer alert("I am programming!");

why do i still get notified that is not correct?

2 Answers

Rick Gleitz
Rick Gleitz
45,706 Points

Hi Chinonso,

It's a bit hard without seeing your code. I had to assume you were taking the Javascript Basics course. It's best to state these things up front and post your question from within the course itself.

It looks like you had the right answer as long as you didn't actually type 'my answer' before your alert. Also, you shouldn't have deleted your work from the two previous challenges if you did. I hope this helps you fix the issue; if not, post a response with your code and I'll have a look.

Thank you Rick. I already moved on with subsequent lectures but it wasn't clear to me why i was stuck then. The answer i provided was correct but for some reason there was a hitch. I appreciate your response. Thank you.

Hello Chinonso,
You are doing a great job and the code you provided looks fine and can pass but the question has small details that you haven't included so small that anyone can pass it!
The word programming has a capital P

console.log("Begin program");
alert("I am Programming!");
console.log("End program");
Rick Gleitz
Rick Gleitz
45,706 Points

I noticed that too, but the small p didn't keep it from passing when I tried it. It must be something else.

True, I have tested the above code with small P and it was passing which I agree with Rick Gleitz that there must be something else

Thank you very much Mr. Shem, i tried both upper and lower cases of the letter P and still got no luck in passing that stage but i know that the answer was right. may be the admin should look into that challenge stage to correct any irregularity that may be the problem. i appreciate your help. Thank you. I agree with you and Rick Gleitz that there must be something else. This is a programming and also needs the admin to look into it.