I’ve almost finished my first front-end project: the random quote machine.
However, the only problem I have is that Twitter share quote isn’t updating when I click “New Tweet!”. I am guessing it’s because when the page loads for the first time, the twitter button takes the value of first quote, and doesn’t update itself when “New Tweet!” button is clicked.
But, that’s just my theory and I am not exactly sure how to get around it. So any help is much appreciated :).
hmmm … interesting problem, It is caused by your embedded script in the html file, the good news is that you don’t need it, just remove the script and all other refrences to it in your js file