---
# System prepended metadata

title: Data of my Life

---

# Data of my Life 
## Doodle 2 

```javascript=
//Let's first find my full name using concat method in JS Strings so that both my first and second names can be joined to find my full name. 
let firstName = "Namita "; //space is deliberate so that there's space between this word and the next
let secondName = "Namita";
document.getElementById("fullName").innerHTML = "Namita's full name is " + firstName.concat(secondName); // Output - Namita's full name is Namita Namita
}
// Now, let's find my height and weight using JavaScript Assignment Operators, addition & subtraction both
let height = 100; //Assuming 100 cm as base height
height += 65; //we will add 65 to height to get my accurate height which is 165 cm
document.getElementsByClasses("height").innerHTML = height;
let weight = 165; //assuming randomly
weight -= 90; //75 kgs is my weight so we will deduct 90 from 165 to get 75 
document.getElementsByClasses("weight").innerHTML = weight;
}
//Now, let's find how much weight should I reduce using JavaScript Arithmetic Operator of subtraction 
let currentWeight, idealWeight, weightToReduce
currentWeight = 75; // 75 kgs is current weight
idealWeight = 60; // 60 kgs is ideal weight 
weightToReduce = currentWeight - idealWeight; // answer will be 15 so that is how much I need to reduce 

//Also want to do something like, if Namita exercises and reduces 10 grams of weight daily, in how many days will she reduce the 'weightToReduce' i.e. 15 kgs?

//Now, let's check my interets in different areas of life by making an Object and then seeing what kind of music i like by using 'object.dot.notation' 
let interests = {art:"painting", craft:"embroidery", sports:"swimming", music:"low-fi", spiritual:"meditation"}
document.getElementsById("").innerhTML = "Namita likes to enjoy music which is " + interests.music; // Output - Namita likes to enjoy music which is low-fi

//Now, let's check what I do before sleeping by making an Array -  
let schedule = ["WakeUp", "MakeChai", "MessageFamily", "PackLunch", "LeaveForWork", "Part-time-job", "ComeBack", "Cook", "Eat", "Bathe", "ScrollsSocialMedia", "Sleep"];
document.getElementsById("").innerhTML = "Before sleeping, Namita " + schedule[11]; // Output - Before sleeping Namita ScrollsSocialMedia
//Here we will start counting the index number from 0 and not 1 so "ScrollsSocialMedia" is 11 not 12.

//Now, let's find out the number of activities I do in a usual week day by using the array length property
document.getElementsById("").innerhTML = "On a usual week day Namita does about " + schedule.length + "activities" // Output - On a usual week day Namita does about 11 activities 

//Now, let's find out my sleep hygiene habits using function inside another function 
function sleepHygiene101 (){
    //Namita brushes, washes face, scrapes tongue
}
function skinCare$ (){
    //While doing sleep hygiene, Namita also does her skincare because she has cystic acne
    sleepHygiene101 ();
}
```