- [Voiceover] In this video, we're going to write the code…that will calculate the estimate.…In other words,…get ready for a little bit of math.…So here in my script file…I have my content loaded event listener collapsed.…So I can work on my estimate total function.…Now I have my quantities…of all these different items saved.…I have the shipping state and I have…the shipping method saved.…I'm going to need a few other things to calculate this.…Along with the individual item quantities,…I'm going to need the total quantity of all the items…for when I'm calculating the shipping.…
Because my shipping cost is per item.…So let's set that up here.…My total quantity is going to be…each of these items added together.…I could put these all together.…But I'm choosing to separate them just to make it…a little more readable.…I'm collecting all the values here and then…I'm starting to act on them in this next group.…I'm also going to need my shipping cost per item.…Which I'll call shippingCostPer.…I won't set a value yet.…And then I'm going to need my tax rate.…
- Working with the DOM
- Creating maps with the Google Maps API
Skill Level Beginner
Productivity Tips for Web Designerswith Sue Jenkins5h 25m Appropriate for all
2. Writing and Debugging
3. Working with Forms
4. A Matter of Time
5. Using the Google Maps API
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.