We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df158f commit 974560bCopy full SHA for 974560b
index.html
@@ -6,9 +6,15 @@
6
<body>
7
<h1>Tip Calculator</h1>
8
Amount:
9
- <input type="number" id="amount" min="0" step="0.01" required /> Tip
10
- Percent:
11
- <input type="number" id="tip-percent" min="0" step="0.01" required />
+ <input type="number" id="amount" min="0" step="0.01" required /><br />
+ Tip Percent:
+ <input
12
+ type="number"
13
+ id="tip-percent"
14
+ min="0"
15
+ step="0.01"
16
+ required
17
+ /><br />
18
<button id="calculate">Calculate Tip Amount</button>
19
<div id="output"></div>
20
<script src="main.js"></script>
0 commit comments