Skip to content

Commit 974560b

Browse files
committed
Add line breaks
1 parent 8df158f commit 974560b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@
66
<body>
77
<h1>Tip Calculator</h1>
88
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 />
9+
<input type="number" id="amount" min="0" step="0.01" required /><br />
10+
Tip Percent:
11+
<input
12+
type="number"
13+
id="tip-percent"
14+
min="0"
15+
step="0.01"
16+
required
17+
/><br />
1218
<button id="calculate">Calculate Tip Amount</button>
1319
<div id="output"></div>
1420
<script src="main.js"></script>

0 commit comments

Comments
 (0)