Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Vue.js Basics!
You have completed Vue.js Basics!
Preview
Use v-model and v-bind together to collect and display information gathered from an HTML form.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Let's break down the next
step of the plan.
0:00
So we want to add a new card when
the user hits Enter or clicks a button.
0:02
To do this,
we'll need to create a method that creates
0:07
a new card object containing
the new card information.
0:13
And we'll need to push that card
object into the cards array.
0:21
In our methods object,
let's create a method called addNew.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up