JSFiddle - React, Tailwind, and code Playground
by Mathias Bynens
HTML
<div id="result">…</div>
<script>
function showID(x) {
document.getElementById('result').innerHTML = x.id;
}
window.onload = function() {
var el = document.createElement('script');
el.src = 'http://api.twitter.com/1/users/show.json?screen_name=' + prompt('Enter Twitter user name (e.g. "jack")', 'mathias') + '&callback=showID';
document.body.appendChild(el);
};
</script>
CSS
#result { font: 10em/1.5 'Monaco', monospace; }