I got it to open up a new window but not sure about how to get quote to show up...
@krckyboy can you use 'how to' vids...??
Stephen James
@sjames1958gm
@flyfishingbarbara You need to make a "global" that holds the last quote var tweetUrl = ""; In your getJSON callback tweetURL = "https://twitter.com/intent/tweet?text=" + data[0].content + "— " + data[0].title then in your click for tweet window.open(tweetUrl);
@flyfishingbarbara I your quotes have special characters you might need to use encodeURIComponent to encoding encodeURIComponent(data[0].content)
Barbara Pentoney
@flyfishingbarbara
@sjames1958gm I had another classmate use this 'encodeURIcomponent' and I wasn't sure what that was all about....i'll read up on it...
Stephen James
@sjames1958gm
@flyfishingbarbara :+1:
Barbara Pentoney
@flyfishingbarbara
@sjames1958gm go Chelsea!
Stephen James
@sjames1958gm
@flyfishingbarbara :) better result yesterday
Barbara Pentoney
@flyfishingbarbara
I will also read and understand the global variable bit...!! thanks!
...haha...I missed it...I was watching tennis
jmf
@jmfcodes
hi, everyone! I've been working on my local weather app, and I finally have to publicly admit that making things pretty on the front end is not my strong suit. do you have any suggestions or references for some basic tips to making sites pretty? and modern? whenever I work too hard at something, it starts to look like Geocities circa 1995 :)