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 Hello, JavaScript! Debug JavaScript in the Console

Adrian Brooks
Adrian Brooks
41 Points

Mine says "Hey, you're back for more?" What did I do wrong?

This is the code alert(Hello, world!"); console.log("Hello from the console."; Alert(" Thanks for Visiting"); document.rite("<h1>Welcome to my web page.</h1");

1 Answer

Travis Alstrand
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Travis Alstrand
Treehouse Teacher

I see that "Hey, you're back for more?" at the very start of this video, in script.js and he quickly replaces it with all the other lines.

Were you by chance writing code inside of preview.js? If so, that file is not linked to index.html by default, he likely does that later in the course.