Skip to content

Instantly share code, notes, and snippets.

@RagnowProductions
Last active March 1, 2022 14:14
Show Gist options
  • Save RagnowProductions/4815585a310724ead36ee72d79449af1 to your computer and use it in GitHub Desktop.
Save RagnowProductions/4815585a310724ead36ee72d79449af1 to your computer and use it in GitHub Desktop.
<html>
<head>
<script src="https://randojs.com/1.0.0.js"></script>
<script>
function showRandomNumber(){
document.getElementById("myNumber").innerHTML = rando(5, 10);
}
</script>
<style>
#myNumber{
font-size:100px;
text-align:center;
margin:50px auto;
font-family:Arial, sans-serif;
}
</style>
</head>
<body onload="showRandomNumber();">
<div id="myNumber"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment