Creating a Pizza Ordering Form

Let’s create an order form having several parts that need to interact with each other.

Pizza ordering form

RxPizza wants to sell specialty pizzas and allow for trivial one-click ordering. Different sizes and toppings will change the price as the user fills out the form.

We’ll need to subscribe to select parts of our form and update other values on the page (sound familiar?).

You’re already chomping at the bit to build this, so start off by generating the component with ng g component pizza-order and add a route to the route module:

Get hands-on with 1200+ tech skills courses.