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 trialruofei du
2,010 PointsUncaught SyntaxError: missing ) after argument list I keep getting this even after i comment out all the lines
As described in the title. I have double checked the program and even commented out all the lines in the scripts.js. However this error message still shows up and the pop-out windows is not workingγ scripts.js:
alert("Help me fix this program!");
alert("Can you get this message to appear?");
document.write("<h2>My first JavaScript program</h2>");
document.write("<p>I'm practicing 'debugging'.</p>");
ruofei du
2,010 PointsJacob Cordeiro hi Jacob, thanks for your reply. Im new to the discussion and i have posted the code as u said. Could you help me to take a look?
2 Answers
Sergey Podgornyy
20,660 PointsIt looks fine in JSfiddle. Try refresh your page with Ctrl+F5
Jacob Cordeiro
2,796 PointsIs you js file linked to a html file? I agree with Sergey Podgornyy that there isn't a syntax problem.
Jacob Cordeiro
2,796 PointsJacob Cordeiro
2,796 PointsNo one can help you if you don't post your code. heres a reference on how to post your code. https://teamtreehouse.com/community/posting-code-to-the-forum