This set of iterations for creating a Type-ahead Form with Flexbox, ES6 and Local Storage
Steps to use these iterations:
-
Clone the project
git clone -b [github branch] [github repository] [github branch]
-
Install the NPM packages:
npm install
-
Start the app by running gulp:
gulp
Iteration 7. Create a type-ahead form (UI Only)
Branch: site-menu-5
Design Goals:
- Create a search form
- Implement the type-ahead feature
- Highlight the matching text
Developer’s Notes
- Learn the UI for a type-ahead form
Surge: http://oafish-brother.surge.sh
Iteration 8. Implement the type-ahead logic
Branch: search-form
Design Goals:
- Add JS regex logic in main.js
- Dynamically update the search results
Developer’s Notes
- Learn JS regex
- Learn how to update the search form
Surge: http://lush-plants.surge.sh
Iteration 9. Organize the JS codes into modules
Branch: search-form-2
Design Goals:
- Reorganize the JS codes into modules
Developer’s Notes
- Learn JavaScript modules
Surge: http://futuristic-aftermath.surge.sh
Iteration 10. Create a “my favorites” menu (UI)
Branch: my-favorites
Design Goals:
- Create the UI for the my favorites menu
Developer’s Notes
- Learn how to create a form with a list of checked/unchecked items
Iteration 11. Add the behavior to the “my favorites” menu
Branch: my-favorites-2
Design Goals:
- Implement the expected behavior to the “my favorites” menu
- Save the user options to the local storage
Developer’s Notes
- Learn how to save data to local storage
- Learn JS event delegation
Iteration 12. Create a “my saved favorites” component
Branch: my-favorites-3
Design Goals:
- Create UI component (widget) to display the saved favorites
- Retrieve the saved user options from local storage
Developer’s Notes
- Learn how to read data to local storage
Iteration 13. Combine the type-ahead and my-favorites features
Branch: my-favorites-4
Design Goals:
- Add type-ahead search capability to the my-favorites component
Developer’s Notes
- Practice on UI and JS
Iteration 14. Tune up the saved-favorites component
Branch: my-favorites-5
Design Goals:
- Improve the saved-favorites component
Developer’s Notes
- Practice on UI and JS