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 trialShihab Al Khandaqji
689 PointsHow do you do it
How do you call a document.write question???
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
</head>
<body>
</body>
<script>
//document.write("Welcome to my site");
</script>
</html>
2 Answers
Barry Ort
12,373 PointsEverything seems fine other than the fact that you commented out your code. Remove the "//" and it'll work
Barry Ort
12,373 PointsSorry for not being clear. What I meant to say was that if the questioner found a solution that worked for them, it may be worthwhile to click best answer to indicate to other people that the problem has already been resolved. If the questioner doesn't do so, others may think that he still hasn't found a solution.
Shihab Al Khandaqji
689 PointsShihab Al Khandaqji
689 Pointsyay! thanks
Barry Ort
12,373 PointsBarry Ort
12,373 PointsI'm glad it worked! Click best answer to close the question.
Michael Hulet
47,913 PointsMichael Hulet
47,913 PointsI took care of it this time, but Barry's right. In the future, when you have a question answered satisfactorily, it'd be great if you could hit the "Best Answer" button on it. That way, it'll float to the top so people who have your same problem in the future can see that it worked for you, and the question on the forum will be marked as solved. Happy coding!
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherTo be clear, while assigning a "best answer" is highly encouraged, from a support perspective it will never truly become "closed". In customer support there is the idea of an "open ticket", "closed ticket", and "solved ticket". A "closed" ticket is no longer accepting any new input and a solution has been in place for a given length of time. This question will always be open for new input from others