From the course: JavaScript for Web Designers

Unlock the full course today

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

Working with user info

Working with user info - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Working with user info

- [Instructor] Over the next several videos, we're going to look at how to work with forms. I can't say it's glamorous, but its very common and touches on lots of little ways of working with JavaScript. We have a little store page on H+ Sport here, where we're going to choose some products, where we want to ship them, and calculate how much we expect to pay. This is simplified from what you'd see on a real store's website, so we can keep our concerns relatively modest. This is the before state. My form elements work. I can select from different states here and choose my radio buttons and check boxes and such. When I click this button, the page refreshes and nothing has actually happened. Let's take a look at where we're going with this project. This is the after state, once again, I can choose some items, choose a state and then estimate my total. And now I have an actual calculation with a little bit of…

Contents