<dialog open>
 <h1>Add to Wallet</h1>
  <label for="num">How many gold coins do you want to add to 
  your wallet?</label>
  <div><input name=amt id="num" type=number min=0 step=0.01 
  <p><strong>You add coins at your own risk.</strong></p>
  <div><label><input name=round type=checkbox> Only add 
  perfectly round coins </label>
  <div><input type=button onclick="submit()" 
  value="Add Coins"></div>
dialog {

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.