Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- JavaScript Everywhere 6:20
- What to Expect 2:55
- JavaScript Everywhere Review 5 questions
- Display Messages with JavaScript 5:18
- Your First JavaScript Program 2:56
- Add JavaScript to HTML 6:58
- Debug JavaScript in the Console 5:52
- Adding Scripts and JavaScript Commands Review 6 questions
- JavaScript Practice Challenge 2:39
- JavaScript Challenge Solution 1:45
- Code Challenges and Getting Help
- Write JavaScript Statements 4 objectives

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
It's common to put your JavaScript code into a file that's separate from your HTML file. In this video, you'll learn how and where to add JavaScript to a web page.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Ayden P
189 PointsI get an error "Uncaught SyntaxError: Unexpected token '<'" when testing
Posted by Ayden PAyden P
189 Points0 Answers
-
pierre Bell
592 Points1 Answer
-
Ting Wei Kao
Front End Web Development Techdegree Student 245 Points1 Answer
-
Isaiah Jenkins
1,060 Points1 Answer
-
Hanis Mekić
174 Points5 Answers
-
Arya Patel
Front End Web Development Techdegree Student 6,839 Points1 Answer
-
Syed Pasha
Full Stack JavaScript Techdegree Student 204 Points1 Answer
-
MacKenzie Santiago
5,137 Points1 Answer
-
Penelope Grayson
6,838 Points1 Answer
-
Cornel Schenk
120 PointsWhy is the 1st code message not Running? The same with the 2nd code. Cannot get it to Run.
Posted by Cornel SchenkCornel Schenk
120 Points3 Answers
-
Coty Nicholas
3,644 PointsWhen I preview the workspace after following directions, it keeps leading me to "Index of /". What have I missed?
Posted by Coty NicholasCoty Nicholas
3,644 Points1 Answer
-
Axel Reid
1,590 PointsI'm not getting the first message to pop up in my code, but the pop up for the "another message from inside.index"
Posted by Axel ReidAxel Reid
1,590 Points1 Answer
-
Faoud Mohammed
119 Points1 Answer
-
Aissa Toumi
1,420 PointsWhy Is javascript always linked to HTML and CSS And not Java Or C++?
Posted by Aissa ToumiAissa Toumi
1,420 Points1 Answer
-
Riley O'Neil
2,560 Points1 Answer
-
Kelsey Donegan
3,342 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up