JavaScript JavaScript Basics Hello, JavaScript! Add JavaScript to HTML

Pierre Andre Larochelle
Pierre Andre Larochelle
567 Points

I'm stuck on 1:56 because I dont see where the video displays how to create a JavaScript file!!!! Please, need help.

I don't know how to create a JavaScript file.

Sheila Anguiano
Sheila Anguiano
24,787 Points
  • You can write JavaScript inside your index.html inside <script> tags

  • Separate file connected to your html

I’m sure if you keep watching the lessons they will explain this in detail

1 Answer

Robert Manolis
Robert Manolis
Treehouse Guest Teacher

Hi Pierre Andre Larochelle, at about the 2:10 - 2:15 minute mark of that video, Guil show's how to create a new file in Workspaces. And you can follow a similar process in other text editors as well. :thumbsup: