0
Here是我需要修复Twitter按钮的随机引用生成器应用程序。我需要做到这一点,以至于当我点击“鸣叫”时,它会在鸣叫中包含引号和作者。到目前为止,它只是包含一个链接。我该怎么做呢?Twitter按钮显示默认鸣叫
$('#tweetQuote').attr('href', 'https://twitter.com/intent/tweet?hashtags=quotes&related=freecodecamp&text=' + encodeURIComponent('"' + randomQuote + '" ' + randomAuthor));