Last active
March 1, 2022 14:14
-
-
Save RagnowProductions/4815585a310724ead36ee72d79449af1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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