- View Offline
- Exercise Files
- Code Practice
- [Voiceover] We have just one more main task…to complete this estimator.…Down here where the total is shown,…I wanna show a few lines down below it…that help illustrate how we got to this total.…We're gonna show the total number of items,…the total shipping cost,…and the tax that we were charging.…We're going to look at a couple new…DOM properties that will help us do this.…So let's switch back to the code.…We're going to collapse this function,…and then down at the bottom of Estimate Total,…here's where I'm showing the estimate.…
And now what I want to do is update the results area.…So I'm going to have another document.getElementById.…We'll call this results.…And then I need to get the id for that area…that I'm going to be updating.…Because this area is empty and this…Estimate Total button is disabled,…I'm going to inspect the text field.…That will get me close, and now I can see it here.…The id is results.…So I'm going to copy that,…come back, and paste it in.…
So now I've saved a reference to it,…and the next step will be updating its contents,…
- 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.