Random Quote Machine --- help

my tweet button not getting quote inside tweet box…
here is my code
window.open(“https://twitter.com/intent/tweet?text"+qt+" by”+au); / /qt==quote,au===author;

my codepen: https://codepen.io/ijhar8/pen/XEWbbJ

This should work:

window.open("https://twitter.com/intent/tweet?text="+qt+" by "+au);

Also, don’t forger to assign a value to au earlier on:

au=data.quoteAuthor;
1 Like

thanx man…
i forgot “=”