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 trialVictor Gordian
4,656 PointsDoesn't show anything.
alert("Hello from victor"); document.write("h1"Welcome to java script basics</h1>"); alert("thanks for visiting.");
thats all i have of coding after opening it on the third video..its quiet annoying because i have no idea what i have download.
1 Answer
Jacobus Hindson
14,429 PointsVictor,
Try this
alert("Hello from victor");
document.write("<h1>Welcome to JavaScript Basics</h1>");
alert("Thanks");
Notice the Quotation marks around the H1 html tags.
Victor Gordian
4,656 PointsVictor Gordian
4,656 Pointsit says when open it starts with "index of/ " and on the page it says ../ css/ 17-Mar-2015 03:40 - scripts.js 17-Mar-2015 05:07 101
Jacobus Hindson
14,429 PointsJacobus Hindson
14,429 PointsThat sounds like your workspace screen. In the top section you should see script.js, that is where the code above goes. Checkout Workspaces and Click "Start Tour" for more help on getting to know workspaces.
Victor Gordian
4,656 PointsVictor Gordian
4,656 Pointsdarn, alright. Thank you.