You already have code in your newQuote function which generates a random index of your quotes array, so why not create a stand alone function which simply returns a random index of the quotes array and use it inside your new Quote function and also call it when your page loads (inside the .ready function part). Not sure how to answer the 2nd question about the background color not appearing the first time, because I see a background color when the page first loads.
To change the background color of an element for the button hover, you need to use the background-color property. You currently are using the color property, which sets the text color.
Again, try using your favorite search engine for this one, to learn more about best practices for creating responsive designs.
Can you give us more details on what JS and JQuery code is not working?
Sir, thanks for your Help
For 2 query i have tried to change innerHTML of p element by getElementById but it does not work as i mentioned in query 5.
And for query 3 Sir, I am talking about anchor which is used in tweet and share buttons element.
The color attribute you are talking about it is useless now because i used to make text white on hover when i added a class “btn” to button element but it doesn’t work So i removed the class.
and Sir background color of body is not showing in browser for first time