How do I get my tweet-quote button to work?

I don’t know how I will get my tweet-quote button to work, this is all I have of it so far
Javascript:
function tweet(message) { window.open('https://twitter.com/intent/tweet?hashtags= freecodecamp&text=' + encodeURIComponent(message)); }
HTML:
`div id=“buttonContainer”>
New Quote

`

Here is the link to my CodePen: https://codepen.io/ArchivalBoat50/pen/pPYVwz

You’re most of the way there already. I would, instead of passing message into the tweet function, have tweet get the quote from the markup, ie $('#quoteText').text(). This means assigning the id quoteText to the element that you’re putting your quote into, which is easy. Then, you just need to bind the tweet function to your tweet button.