Feat: added placeholder for number, increased default test count to 15

This commit is contained in:
Richard Wong 2023-11-10 09:38:34 +09:00
parent 4ad8d16a39
commit db3af43042
Signed by: richard
GPG Key ID: 5BD36BA2E9EE33D0
1 changed files with 4 additions and 1 deletions

View File

@ -129,7 +129,7 @@ function App() {
// initialize state variable testCount
// purpose: to set number of verses to test
const [testCount, setTestCount] = useState(5)
const [testCount, setTestCount] = useState(15)
const testCountChange = (e) => {
const value = e.target.value
setTestCount(value)
@ -173,9 +173,12 @@ function App() {
type="text"
id="testCountBox"
name="testCountBox"
placeholder={testCount}
onChange={testCountChange}
/>
<p>(It will only give you as many verses as there are in selected packs)</p>
<h2>
Set Shuffle:
<input