diff --git a/basics-01-starting-code/app.js b/basics-01-starting-code/app.js index e924058..2657a04 100644 --- a/basics-01-starting-code/app.js +++ b/basics-01-starting-code/app.js @@ -3,7 +3,8 @@ const app = Vue.createApp({ data() { return { - courseGoal: "Finish the course and learn Vue.", + courseGoalA: "Finish the course and learn Vue!", + courseGoalB: "Master Vue and build amazing apps!", vueLink: "https://vuejs.org", }; }, @@ -11,9 +12,9 @@ const app = Vue.createApp({ outputGoal() { const randomNumber = Math.random(); if (randomNumber < 0.5) { - return "Learn Vue!"; + return this.courseGoalA; } else { - return "Master Vue!"; + return this.courseGoalB; } }, },