Project II: Dynamic Content Creation—Printing Out the Copyright Information and Last-Modified Date

Now that the boss knows that you can dynamically add content to a page, other possible uses have been brought up. One idea that he saw on a competitor's page was the addition of copyright information and the date a page was last modified to the bottom of each page on the site (Figure 1-4). The addition of the last-modified date will be especially helpful in the case of the Shelley Web site. Many people make changes to pages on the site, and it would be great if there were an easy way to tell if a file had been changed since you last edited it. Like most projects, even though 20 minutes ago the boss didn't know it could be done, it is now a high ...

Get Essential JavaScript™ for Web Professionals, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.