correct my solution based on the assignment video

This commit is contained in:
Andreas Zweili 2021-01-18 22:15:38 +01:00
parent b595fb18c1
commit 942a45783a
1 changed files with 3 additions and 2 deletions

View File

@ -18,9 +18,10 @@ const app = Vue.createApp({
status() {
if (this.result < 37) {
return "Not there yet";
}
if (this.result > 37) {
} else if (this.result > 37) {
return "Too much!";
} else if (this.result === 37) {
return this.result;
}
},
},