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 f2598ef commit 9315415Copy full SHA for 9315415
src/routes/+page.svelte
@@ -190,6 +190,7 @@
190
<div class="max-w-[40rem] mx-auto w-full mb-10">
191
<input
192
type="number"
193
+ pattern="\d*"
194
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"
195
placeholder="Enter your guess"
196
on:keypress={keyPress}
0 commit comments