Hello all, it seems my java-script is malfunctioning in some way. I will accept any general feedback/advice to correct the issue.
var quotes = ["You know you're in love when you can't fall asleep because the reality is finally better than your dreams.", "Don't cry because it's over, smile because it happened.", "Don't walk behind me; I may not lead. Don't walk in front of me; I may nor follow. Just walk beside me and be my friend.", "You've gotta dance like there's nobody watching, Love like you'll never be hurt, Sing like there's nobody listening, And live like it's heaven on earth.", "Be who you are and say what you feel, because those who mind don't matter, and those who matter don't mind.", "No one can make you feel inferior without your consent.", "Be yourself; everyone else is already taken.", "I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best."]; var author = ["-Dr. Seuss", "-Dr. Seuss", "-Albert Camus", "-William W. Purkey", "-Bernard M. Baruch", "-Eleanor Roosevelt", "-Oscar Wilde", "-Marilyn Monroe"]; var randomNum = Math.floor((Math.random()*quotes.length)); var randomQuote = quotes[randomNum]; var randomAuthor = author[randomNum]; $(".quote").text(randomQuote); $(".author").text(randomAuthor);