Functions personal file structure created.
Function started, outside variables created.
Added initial alert to inform user.
Added if statement to console. Changes timesPaid1 prompt. Added argument.
Added else if statement in function for biweekly.
Added else if for monthly pay.
Added validation statement.
Added alerts for each if and else if statements.
Added tax percentage parameter, argument and variable.
Added taxPerc to validation statement and weekly if statement.
Added taxPerc to biweekly if statement.
Added taxPerc to monthly if statement.
Added comment to every line.
Added final else statement to fall back on in the case of an error. Also added comments under this else statement.