Drag the 'index.html' page from your project onto the icon of your web browser. Your browser should look like this:
Drag the 'index.html' page from your project onto the icon of your text editor. The text editor should look like this:
Opening the same file in a browser and in a text editor lets you see the effects of each code change right after you make it.
HTML comment tags begin with <!-- and end with -->. Here's an example:
<!-- this is a comment. the browser ignores it -->
Inline vs. Linked
you'll usually want to place your js and CSS in separate files and include those files
in your HTML with a link.
Linking files will help you keep your code organized and easier to maintain. It means,
for example, that if you change the style of buttons on your website, you'll be able to
change it in just one place, instead of having to update every page.