- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech

Add Features with Forms to a Vue.js Reading List Application
In this code lab, you'll follow instructions to use forms and Vue.js for adding features to the pre-existing application.

Lab Info
Table of Contents
-
Challenge
Enhancing the BookForm Component
In this lab, you’ll follow along with our instructions and use forms and Vue.js to add features to the application built in the Build a Reading List Application With Vue.js project.
We will pick up from where we left off in the "Build a Reading List Application With Vue.js" Lab. We'll add a checkbox, radio buttons, a text area and labels to our BookForm Component. ### Solution The solution can be found in the
solution
directory. -
Challenge
Dynamically Show and Hide Text
Refactor our BookList component to work with the bookData object received from the BookForm component. Then, we will use v-if and v-else directives in the BookItem component to dynamically show the text "Read" or "Not Read" depending on the bookData.finishedReading property.
-
Challenge
Filtering the Books List
Create a drop-down list that will allow us to filter our books based on ownership - bought or borrowed. Upon creating the drop-down and binding it's data with v-model, we will display a second list of books that will use a Vue.js computed property called filteredBooks.
-
Challenge
Adding a Search Functionality
In this last module we'll add a searchedBooks computed property that will filter out books that match the v-model value of the search input element.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.