The core functionality of it consists of a text field which is tied to the state of the component. As the text field is altered by user input, so is the state. As the DOM is rerendered, below the text field you will see an output. The value of the state is then inputted into a simple calculation which outputs the amount of pizzas needed for your party. If you have too many people coming to your party you are met with weird gifs.