:star2: 1573 | @skyc0der |http://www.freecodecamp.com/skyc0der
:star2: 2933 | @khaduch |http://www.freecodecamp.com/khaduch
@Gr8ayu Correct, the default is version 4, we learn version 3 at Free Code Camp. Click "Settings", then "CSS" and add this one:https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
Then click "JavaScript" and add these two libraries (the order is important, jQuery must go first):https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js
:warning: gr8ayu already gave skyc0der points
:warning: gr8ayu already gave khaduch points
$("#tweet").click(function(){
if(!inIframe()) {
openURL('https://twitter.com/intent/tweet?hashtags=quotes&related=freecodecamp&text=' + encodeURIComponent('"' + currentQuote + '" ' + currentAuthor));
}
})
inIframe()
do?
https://twitter.com/intent/tweet?text=hello world
to tweet the text "hello world"
:star2: 1574 | @skyc0der |http://www.freecodecamp.com/skyc0der