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!
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
I get two errors - uncaught syntax and failed to load resource 404.
The code I used is below - I did have another workspace that I deleted because I wasn't getting ANY errors at first. When I started over I got two errors. How can I fix and get one error? Thanks in advance.
alert("Hello World"); console.log("Hello from the console."; alert("Thanks for visiting."); document.rite("<h1> Welcome to my webpage. </h1>");
Steven Parker228,094 Points
The 2nd line is missing a closing parenthesis between the last quote mark and the semicolon.
The last line has "write" misspelled (missing the "w").