coded html for doc w/ js script
formatted comment for css.
Cleared js file for use
coded comment for js iaw requirements.
commented purpose of conditional.
comment to define number of tools.
coded tool number variable and prompted for data.
commented to define variable for length of shift.
coded variable shift time and prompted for data on time alloted for maintenance.
commented validation section. commented to check for lack of data entry into prompt fields.
coded if statement comparing tool number and shift time variables for lack of data entry.
added comment for results if undefined variable found.
coded console message for failure to enter expected data
added else syntax and comment for validation without errors.
coded console display for successful data entry.
commented for calculation of maint time equation explanation.
coded maint. time equation and defined maint. time variable.
commented and coded equation for adding break time to total time. defined break time variable.
coded and commented if statement comparing maintenance time to shift time. coded console statement stating maintenance is longer than shift time.
coded else if statement comparing breaktime to shift time. then displaying to console results if no break is able to be taken.