var random = Math.floor(Math.random() * 20));
console.log(random);
:cookie: 989 | @mot01 |http://www.freecodecamp.org/mot01
:cookie: 610 | @eweiss17 |http://www.freecodecamp.org/eweiss17
For example, with this HTML:
<a id="tweetIt" class="btn btn-primary text-light">Tweet It</a>
Update the href with:
$("#tweetIt").attr("href", tweetUrl);