1. Using the epoch.js file we were working on in class update it for the following:
a) so that a button element is clicked to update the message
b) Script tag is at the bottom of the HTML page.
c) No onclick in HTML JavaScript completely separated form HTML.
d) Program works from the bottom up – window.onload init is at the bottom of epoch.js file
e) Test your script in at least two browsers and document any debugging plus version control
2. Using the events.html & events.js files we were working on in class update them for the following:
a) so that it notifies the user when the form has been submitted and the event handlers have been
registered
b) so that it uses addEvent() for the form-submission error handler and then prevent the form from
submitting using the code also used in the membership.js
c) Script tag is at the bottom of the HTML page.
d) No onclick in HTML JavaScript completely separated form HTML.
e) Program works from the bottom up – window.onload init is at the bottom of events.js file
f) Test your script in at least two browsers and document any debugging plus version control