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 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. :)