From the course: JavaScript for Web Designers

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Solution: Add and use more fields

Solution: Add and use more fields - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Solution: Add and use more fields

(upbeat music) - [Man] Let's take a look at one possible solution to this challenge. We'll look at the page first. We can see we have all four products here. We'll increase the quantity of my fizzy water and a couple of other things. Down here, under the state, I have several selections, and my new one, Washington State. And selecting that, still make sure that the Estimate Total button is active. So I'll set UPS, and click Estimate Total. This looks pretty reasonable. Let's set this to California. Yep, looks good. Slightly less tax for Washington than there is for California, here. Great! So it seems to work. Let's look at how it was put together. Here in my index.html file, I'm going to use Command+F, or CTRL-F on Windows or Linux to find the mineral water. Actually, I'm going to search for fizzy. There we go. That jumps me right to where I need to go. And I followed the same structure of the html…

Contents