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.
I asked because Im in the process of learning Javascript, though I am aware of the fact that you can manipulate css with javascript; I didn’t really know that one could essentially style an entire page with javascript alone! this is really exiting!