Uncategorized
short answer
JavaScript can add another dimension to our sites with simple math calculations, such as working with conditionals for an order form to add the proper taxes or currency conversions. Let’s return to QVR Tours for this thread and write some JavaScript that will assist in the following calculations:
- Add a concierge fee of $150 to tours that cost more than $2,500 and a fee of $300 if a tour costs more than $3,500
- Concatenate a traveler’s first and last name
Discounts a tour if there are more than 8 people attending (you decide on the discount)
- Flesh out your thoughts and interact with your classmates. Post your initial response by Wednesday each week and then return on a couple of other days to see what’s going on with the discussions. The more you interact, the more you learn from your peers, and the more you share with them about what you know. You’ll also be showing your instructor what you’ve picked up.