jeudi 1 février 2018

Second opinion on Else If statement

I was tasked to create a form that shows pricing for ski passes.

Before Noon=20.00, 12-6pm=25.00 After 6pm=15.00 Sales Tax for CA=.06 nonCA=.08 and the form should output the totals.

I am new to JavaScript and what i created does the job but is monstrous. Too monstrous to post here. If any of you experts have a sec to show me how you would attack this, I would LOVE to compare your script to mine.

Appreciate your time :)

Aucun commentaire:

Enregistrer un commentaire