diff --git a/src/ui.js b/src/ui.js index 2631646..4264489 100644 --- a/src/ui.js +++ b/src/ui.js @@ -112,10 +112,7 @@ export default class UIManager { fishInfo.innerHTML += `
Favorite food: ${fish.favoriteFood}`; let fishHistory = document.createElement("div"); - fishHistory.innerHTML = "
History:"; - if (!fish.history.length) { - fishHistory.innerHTML += " none yet"; - } + fishHistory.innerHTML = "
Mood Journal:"; for(let history of fish.history) { fishHistory.innerHTML += `
${history}`; }