Jump to content

User:TheDavidJ/motivational qoutes.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
var quotes = [
"Success is not the key to happiness. Happiness is the key to success. If you love what you are doing, you will be successful.",
"Believe in yourself, take on your challenges, dig deep within yourself to conquer fears. Never let anyone bring you down. You got this.",
"Don't be pushed around by the fears in your mind. Be led by the dreams in your heart.",
"The only person you should try to be better than is the person you were yesterday.",
"Your time is now. Start where you are, use what you have, and do what you can.",
"Believe in your dreams. They were given to you for a reason.",
"Success is not just about making money. It's about making a difference.",
"Challenges are what make life interesting and overcoming them is what makes life meaningful.",
"Your attitude determines your direction.",
"Every day is a new beginning. Take a deep breath, smile, and start again.",
"Believe in the power of your dreams and the potential within you to achieve them.",
"Success is not measured by money or material possessions. It is measured by the impact you have on others.",
"Embrace the uncertainty. Some of the most beautiful chapters in your life won't have a title until much later.",
"Your dreams are worth pursuing. Don't let anyone or anything discourage you from chasing them.",
"Be the reason someone believes in the goodness of people.",
"Your journey may be tough, but it's preparing you for greatness.",
"Success is not for the chosen few, but for the few who choose it.",
"Your potential is limitless. Don't settle for anything less than what you are capable of.",
"Every day is an opportunity to be better than you were yesterday.",
"Believe in yourself, even when no one else does. You are capable of amazing things."
];
var qoutetext = document.createElement("h1");
qoutetext.textContent = quotes[Math.floor(Math.random() * quotes.length)];
document.querySelector("#bodyContent").prepend(qoutetext);