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.

Kelvin Lin
550 PointsI don't know what's wrong? var answer = prompt("what day is today?")
There comes a window. So i don't know what's wrong
var answer = prompt('what day is it?');
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
</head>
<body>
<script src="scripts.js"></script>
</body>
</html>
3 Answers

Robert Richey
Courses Plus Student 16,352 PointsHi Kelvin,
The challenge is just being picky - it's expecting "What" to be capitalized.
// this fails
var answer = prompt("what day is it?");
// this passes
var answer = prompt("What day is it?");

Abe Layee
8,378 PointsI belive the question is asking you to store the answer var into the prompt() function like this.
var answer;
prompt("What day is it?");
answer = prompt;

Kelvin Lin
550 Pointsoh~~Yes Robert. It works right now! So the problem is capitalized!
Christian Andersson
8,700 PointsChristian Andersson
8,700 PointsSorry for posting this off-topic, but I'm helping Treehouse investigate a potential issue with their webserver. Please follow this link and leave a comment saying if you have experienced this webserver issue or not.
https://teamtreehouse.com/forum/attention-treehouse-webserver-issues-please-read
Thank you.