Scripting the DOM exercise: (1) Create an HTML + Javascript page. When the page first displays, it will have an

containing only the character '1', and a second

containing only the character '2'. There will be a button at the bottom labelled 'swap'. When the user clicks the button, the two h1 headers will swap. Use the DOM Object methods described at http://www.w3schools.com/htmldom/dom_methods.asp (2) Write a second HTML + Javascript page. When the page first displays, it will have three

elements containing '1', '2', '3' respectively. There will be a button at the bottom labelled 'advance'. When the user clicks the button, the first

element moves to the second position, the second moves to the third, and the third moves to the first. You must use the DOM object methods (see above URL).