// First, we're gonna ask the user how they're feeling health-wise.
// We just want them to type 'healthy', 'unhealthy', or 'meh' (a bit of an indifferent answer)
let healthStatus = prompt("How are you feeling today? Healthy, unhealthy, or meh?").toLowerCase();
// Now let's see what they said...
if (healthStatus === "healthy") {
// Yay! They feel good. Let's suggest something nice
console.log("Awesome! Keep it up. How about some dark chocolate as a reward?");
} else if (healthStatus === "unhealthy") {
// Oh no! They're not feeling too great... let's help
console.log("Maybe you need a smoothie with some greens? That might help boost your energy.");
} else {
// If they're in the 'meh' zone (neither good nor bad), let's offer something neutral
console.log("How about drinking water? Hydration is key, no matter how you feel!");
}
Cell In[3], line 4
// Verify if the user's response is 'energetic'
^
SyntaxError: unterminated string literal (detected at line 4)