5. Create an object literal called Customer. The Customer will have properties: a name, gender, photo, and occupation. There will be one method called showCustomer(). The user will be prompted for each of the property values. Use the showCustomer() method to display the data in an HTML table.

Complete chapter 8 exercise 5. Save this page as chapt8ex5.html in your week 4 folder. (Hint: See my example object_literals.html on this one.)

Back to Assignment Web Page.

Valid XHTML 1.0!

Valid CSS!

W3C XHTML validation page

W3C CSS Validation Page