# Data of My Life
---
#### I am going to introduce my mood through daily routine activities.
```javascript=
let myName = "Ada Zhou";
let mood = "50"
let isInsomnia = true;
// I have a get-up temper.
let breakfast = {
isEaten: true,
breakfastType: [
'steamed bun',
'soymilk',
'bagel',
'dumpling',
'sandwich',
'leftover food',
],
};
let todayBreakfast= breakfast.breakfastType[0];
//I had steamed bun as breakfast today.
mood += 50;
//I love steamed bun so I am full and happy.
let schoolClass = {
inPerson: true,
interestLevel: 100,
assignment: "a lot",
}
mood = mood + 50 - 100
//I love learning interesting classes, but I do not like assignment.
function eatLunch(haveClass, time){
if(haveClass && time >= 30){
console.log("eat at cafeteria");
}
else{
console.log("eat home")
}
eatLunch(true, 20)
//I have a class right after another one which ends around noon.
//So I choose to eat lunch in the school cafeteria.
mood -= 50;
//I love eating at home. I do not like food in the cafeteria.
let dinner = {
isEaten: true,
dinnerType: [
'Uber Eats',
'eat outside',
'make at home',
],
};
dinner.dinnerType[0];
mood += 50;
//I enjoy using Uber Eats. It's fast and convenient.
function sleepCondition(mood){
if (mood >= 100) {
isInsomnia = false;
} else {
isInsomnia = true;
}
}
//When I am happy, I tend to fall asleep fast.
//When I am not happy, I will struggle with insomnia.
}
```