0
Here是我需要修復Twitter按鈕的隨機引用生成器應用程序。我需要做到這一點,以至於當我點擊「鳴叫」時,它會在鳴叫中包含引號和作者。到目前爲止,它只是包含一個鏈接。我該怎麼做呢?Twitter按鈕顯示默認鳴叫
$('#tweetQuote').attr('href', 'https://twitter.com/intent/tweet?hashtags=quotes&related=freecodecamp&text=' + encodeURIComponent('"' + randomQuote + '" ' + randomAuthor));