INFM 603 Homework 5

  1. Create a Web page with a JavaScript program that uses the DOM to get the content of a <p> inside a <div> with id="footer", and reverses the order of the characters of the text in that string. If there is more than one <p> tag inside the footer <div> you can reverse all of them, or any subset of them (but you must reverse at least one of them!). Your JavaScript program should be designed in such a way that it will reverse the order of any characters that might be put there there in the future, not just those that are there now.
  2. Call your page hw5.html, put it in the usual place, and link it as usual.

Last modified: Sat Oct 1 20:58:13 2011