1. “Get 1% better every day.”
  2. “Change your identity to change your habits.” 3 layers of behaviour change:
    1) Outcomes
    2) Process
    3) Identity
  3. 4 Laws of Behaviour Change:
    1) Cue
    2) Craving
    3) Response
    4) Reward
  4. To create good habits:
    1) Cue — Make it obvious
    2) Craving — Make it attractive
    3) Response — Make it easy
    4) Reward — Make it satisfying
  5. To break bad habits:
    1) Cue — Make it invisible
    2) Craving — Make it unattractive
    3) Response — Make it difficult
    4) Reward — Make it unsatisfying

--

--

  1. “Who you are is defined by what yore willing to struggle for.”
  2. “Don't just sit there. Do something. The answers will follow.”
  3. “Maturity is what happens when one learns to only give a F about what's truly worthy.”
  4. “Being wrong opens up to the possibility of change. Being wrong brings the opportunity for growth.”
  5. “Not giving a F does not mean being indifferent; it means being comfortable with being different.”

--

--

  1. “What you do and learn in life, physically changes what your brain looks like — it literally rewires it.”
  2. “WE DO NOT SEE with our eyes. We see with our brains.”
  3. “The more you exercise, the more tissues you can feed and the more toxic waste you can remove.”
  4. “Dreaming permits each and every one of us to be quietly and safely insane every night of our lives.”
  5. “Repeat to remember.”

--

--

  1. “If you're serious about changing your life, you'll find a way. If you're not, you'll find an excuse.”
  2. “You're responsible for what you say and do. You are not responsible for whether or not people freak out about it.”
  3. “What other people think about you has nothing to do with you and everything to do with them.”
  4. “Your life is your party. You get to choose how you invite people and experiences and things into it.”
  5. “The only failure is quitting. Everything else is just gathering information.”

--

--

Write a JavaScript program to check whether two given integers are similar or not, if a given divisor divides both integers and it does not divide either.

function checking_numbers(x, y, divisor) {

if(x % divisor === 0 && y % divisor === 0 || x % divisor !== 0 && y % divisor !==

0) {

return true;

}

return false;

}

console.log(checking_numbers(10, 25, 5));

console.log(checking_numbers(10, 20, 5));

console.log(checking_numbers(10, 20, 4));

--

--