so i'm trying to use an API to get a random word (http://randomword.setgetgo.com) and then use it to store the random word as a variable in javascript and then print that variable to the screen. My Code is
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.js">
var word = $.get("http://randomword.setgetgo.com/get.php");
document.WriteIn(word);
</script>
However nothing is being written to the HTML document.
Could anyone help explain this a little bit and point me in the write direciton to get this working? I'm just starting to learn web development.
Thanks.