Building a Pizzeria Registration Form
Now, let's learn to build a full registration form
We'll cover the following
A single phone number isn’t much use on its own. We need context about that number. Whose number is it? Why should we send them a text message?
In this section, you’ve been hired by your local pizza place to build out an Interactive Online Pizza Experience, that is, some forms, so that locals can order pizza without that awful hassle of talking to someone on the phone.
Registration forms
The first full form you’ll create is the registration form where users create their accounts. Practically speaking, we’ll need their name, a password, phone number (to alert them when the pizza’s about to arrive), address, and credit card details.
First things first, we’ll run ng generate component registration-form
and add a route for this new component:
Get hands-on with 1400+ tech skills courses.