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
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?
Rick Gleitz47,153 Points
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.
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
alert("I am Programming!");
Rachel JohnsonTreehouse Teacher
Hi Chinonso Umeanoikwa , thanks for posting your question! I've had a look at the challenge and it's definitely working for all variants of "I am programming!"
I've experimented a bit and found that the challenge will not let you pass Step 3 if you deleted the
console.log() from Step 2. All code challenges should add to existing code in the box rather than deleting it. There is a box of text to the left of all the buttons that says:
Important: In each task of this code challenge, the code you write should be added to the code from the previous task.
So, the correct answer for step 3 is this:
alert("I am Programming!")
When you move onto Step 4, be sure you are not deleting existing code. Simply add on!