Hey, I’m trying to make my random quote machine share the current quote to twitter as a tweet, but I’m stuck and don’t know how to move forward. My variable does not get passed into the text when I try to set my href attribute equal to “https://www.twitter.com/intent/tweet?text={myVariable}” . Whenever twitter would get opened the tweet would be “{myVariable}” What can I do ?
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
.
Challenge: Build a Random Quote Machine
Link to the challenge: