Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<style type="text/css">
#pge {font-family:Georgia;font-size:large;display:block;margin:0 auto;width:400px;}
p{text-align:center;margin:0;}
#dce{font-size:xx-large}
</style>
</head>
<body>
    <div id="pge">
        <fieldset>
            <legend>Roll Dice</legend>
            <p id="dce">&nbsp;</p>
        </fieldset>
        <p>
            <input type="button" value="Roll" onclick="document.getElementById('dce').innerHTML=Math.floor(Math.random()*100000)+1">
            <input type="button" value="Clear" onclick="document.getElementById('dce').innerHTML='&nbsp;'">
        </p>
    </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers