Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
>> When working on a project in a text editor, it's common to put all of your
Just like you would with CSS, for example.
So now I'm going to open my text editor, Visual Studio Code.
You can place script tags almost anywhere in an HTML file.
But most typically you'll find script tags placed either in the head of the page or
within the body of the page just before the closing body tag.
I'll place it in the body.
And I'll set the source to main.js,
When you place your script near the bottom of the page like this it
as a developer.
Like functions, loops, arrays, and objects.
There's a whole lot more to learn about each of these topics.
But I'll get you started with the basics.
And later give you more information about where to learn more and
practice what you've learned.
You need to sign up for Treehouse in order to download course files.Sign up