Skip to content

Commit 216972a

Browse files
committed
Add minimum parameter
1 parent a7008e7 commit 216972a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sum-of-power-digits/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<body>
77
<h1>Sum of Power of Digits Calculator</h1>
88
<input type="number" id="numberInput" />
9-
Power: <input type="number" step="1" id="powerInput" />
9+
Power: <input type="number" min="1" step="1" id="powerInput" />
1010
<select id="option">
1111
<!--mode to calculate sum-->
1212
<option value="sumOfDigits" selected>Sum of Digits</option>

0 commit comments

Comments
 (0)