Skip to content

Commit 9315415

Browse files
Update +page.svelte
1 parent f2598ef commit 9315415

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@
190190
<div class="max-w-[40rem] mx-auto w-full mb-10">
191191
<input
192192
type="number"
193+
pattern="\d*"
193194
class="block w-full px-3 py-2 bg-white border border-gray-700 rounded-md text-lg shadow-sm placeholder-gray-700 focus:outline-none focus:border-black"
194195
placeholder="Enter your guess"
195196
on:keypress={keyPress}

0 commit comments

Comments
 (0)