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 JavaScript Basics (Retired) Introducing JavaScript The JavaScript Console

Kevin Smothers
Kevin Smothers
1,269 Points

No matter how many times I save and verify the scripts.js in this tut, it still renders the errored version.

I modified the file to have the following....

alert("hello there");
document.write("No it works!");

but no matter how many times I save it in your text editor, it renders the unedited demo file in the browser.

2 Answers

Hey Kevin Smothers,

I was on another user's question and was watching the video back, saw your question, and forgot that I had originally commented on it asking you to post your code lol I see now that you edited your question to include your code. The problem with just editing your question, though, instead of posting a comment to the question (or answer), is that no one is updated whenever you edit your question/answer/comment. We're only updated when another user (including yourself) posts a comment/answer in the thread.

If you haven't fixed this yet, I would try to delete your cache and then reload the web page. Your code looks fine, so it's likely a problem with the cache.

Jared Lenover
Jared Lenover
2,120 Points

I had the same problem. I refreshed the tab in my browser where the results were appearing. That fixed it. :)