<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>和光酒飯ガチャ</title> <script type="text/javascript" src="test2.js"></script> </head> <body> <style> body{ text-align: center; background-color: #f8ffe5; font-family: serif; margin:0 10px; } h1{ color:#1d9305; font-size: 3vw; } h2{ color: #f25a5a; font-size: 1.5vw; } p{font-size: 1.3vw;} </style> <h1>和光酒飯ガチャ</h1> <p>「和光酒飯」ではお会計金額1000円ごとにスタンプが貯まります。※現金のみ</p> <p>1000円未満のお会計金額の場合、スタンプはつきません!</p> <p>このガチャでは1000円~1099円で買える商品の組み合わせをランダムに表示してくれます。</p> <h2>ガチャを回してみよう!</h2> <button id="button" type="click">回す</button> <div> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <p id="result"></p> <hr style="width:400px; background-color: #000000;"> <p>合計金額は、 <span id="result"></span> 円です</p> </div> </body> </html>