One of the main reasons to use a framework like Vue is that it makes responding to user input easier. One of the places user input is common is in forms. We also like to update the look of this when users make an input/select an option, changing styles and classes to let the user know something happened.
In this chapter, we will learn about binding data to form input along with binding to inline styles and classes.
Getting user input out of a form and into a variable we can manage is one of the main advantages of using a framework like Vue. Vue provides us with the v-model directive to bind data ...