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

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