Goals
- Learn how Javascript is included in a web page.
- Learn the flow of control of Javascript in a web page—what gets executed when.
- Learn how Javascript code can modify the contents of a web page.
Your tasks
This lab exercise will require you to read a bunch of HTML, CSS, and Javascript code samples,
compare what the code says to how the corresponding web page appears and behaves in the browser,
and play with the code to make sure you understand how it all works.
- Clone my GitHub repository
onto your machine, or if you already have it, cd to it and "git pull".
You should see a new directory called html-samples.
- Open a browser, and then use its File→Open menu to open javascript-samples/index.html
in the browser.
- Follow the instructions in javascript-samples/index.html.
Have fun, and ask lots of questions