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.

JavaScript

challenge question to move on for prompt ()? Help

var answer; prompt ('what is the day?');

help

still giving me - You didn't put 'What day is it? in the prompt() function.

Raymond Osier
Raymond Osier
16,581 Points

what challenge are you on ill go to it and see how it reacts so i can get a better understanding of the error

2 Answers

Raymond Osier
Raymond Osier
16,581 Points

the challenges are very case and spelling sensitive task 2 of the challenge asks for a prompt of What day is it? try using the following

var answer = prompt("What day is it?");

It work - Capital W - yeah thanks

Raymond Osier
Raymond Osier
16,581 Points

Your welcome If you need any further help Now you know where to get it There are lots of students, teachers, mods and others always willing to help

see you again in Java. Have a great weekend!!!

Raymond Osier
Raymond Osier
16,581 Points

you forgot to add the = to your var

var answer = prompt ('what is the day?');

capturing visits input and capturing on a page.

just starting out in learning.

Raymond Osier
Raymond Osier
16,581 Points

That is ok . That is why the forum is here so we can all help eachother