Hello, I have a Javascript that is working well to create a random number, but I want to integrate this code to my template , I understand that I can use IFTTT to integrate this code to my template but I don´t how to do it.
This is the code :
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.random() Method</h2>
<p>Math.random()*100 returns a random number between 0 and 100:</p>
<p id="Folio"></p>
<script>
let x = Math.floor((Math.random() * 10000) + 1);
document.getElementById("Folio").innerHTML = x;
</script>
</body>
</html>
Need help.
Thanks
Martin