Hi!
I have been working on the Random Quote Machine Project. I usually work first on “Brackets” in my own computer and then I copy it to codePen. Now that I have tried it on codePen it seems that the twitter button doesn’t work for some reason… Anyone knows why?
Thank you for your help! And if you have any comment regarding the project, please say something!
The difference between attributes and properties can be important in specific situations. Before jQuery 1.6, the .attr() method sometimes took property values into account when retrieving some attributes, which could cause inconsistent behavior. As of jQuery 1.6, the .prop() method provides a way to explicitly retrieve property values, while .attr() retrieves attributes.
Thank you so much for your help!! Just one more question. Do you know why the twitter link doesn’t work? With window.open() it works, but I just don’t understand why it can’t work the other way