diff --git a/code/module-08/m08_end/components/FoodPrefsForm.vue b/code/module-08/m08_end/components/FoodPrefsForm.vue
new file mode 100644
index 0000000..6ebb678
--- /dev/null
+++ b/code/module-08/m08_end/components/FoodPrefsForm.vue
@@ -0,0 +1,33 @@
+
+
+
Food Preferences
+
+ Room Service Fee{{ roomService }}
+
Please fill out this form to let us know your food preferences.
+
+
+
+
+
+
diff --git a/code/module-09/m09_end/components/FoodPrefsForm.vue b/code/module-09/m09_end/components/FoodPrefsForm.vue
new file mode 100644
index 0000000..1f1fa30
--- /dev/null
+++ b/code/module-09/m09_end/components/FoodPrefsForm.vue
@@ -0,0 +1,97 @@
+
+
+
+
Food Preferences
+
Room Service Fee{{ roomService }}
+
Please fill out this form to let us know your food preferences.
+
+
+
+
+
+ /* TODO: Add form data properties and methods */
+ data() {
+ return {
+ passenger: '',
+ allergies: '',
+ allergydesc: '',
+ glutenfree: '',
+ vegan: '',
+ }
+ },
+ /* TODO: Add methods */
+ methods: {
+ onSubmit() {
+ if (this.passenger === '' || this.allergies === '' || this.allergydesc === '' || this.glutenfree === '' || this.vegan === '') {
+ alert('Form is incomplete. Please fill out every field.')
+ return
+ }
+
+ let foodprefanswers = {
+ passenger: this.passenger,
+ allergies: this.allergies,
+ allergydesc: this.allergydesc,
+ glutenfree: this.glutenfree,
+ vegan: this.vegan,
+ }
+
+ this.$emit('foodpref-submitted', foodprefanswers);
+
+ this.passenger = '';
+ this.allergies = '';
+ this.allergydesc = '';
+ this.glutenfree = '';
+ this.vegan = '';
+
+ },
+ },
+ computed: {
+ roomService() {
+ if (this.berth) {
+ return `: No charge`;
+ }
+ return `: $24.99`;
+ }
+ },
+})
diff --git a/code/module-09/m09_end/index.html b/code/module-09/m09_end/index.html
index c8dcd31..4d7fd8a 100644
--- a/code/module-09/m09_end/index.html
+++ b/code/module-09/m09_end/index.html
@@ -71,7 +71,7 @@
{{ featureDetails }}
-
+
-
-
-
-
-
-
-