Feat: added placeholder for number, increased default test count to 15
This commit is contained in:
parent
4ad8d16a39
commit
db3af43042
|
@ -129,7 +129,7 @@ function App() {
|
||||||
|
|
||||||
// initialize state variable testCount
|
// initialize state variable testCount
|
||||||
// purpose: to set number of verses to test
|
// purpose: to set number of verses to test
|
||||||
const [testCount, setTestCount] = useState(5)
|
const [testCount, setTestCount] = useState(15)
|
||||||
const testCountChange = (e) => {
|
const testCountChange = (e) => {
|
||||||
const value = e.target.value
|
const value = e.target.value
|
||||||
setTestCount(value)
|
setTestCount(value)
|
||||||
|
@ -173,9 +173,12 @@ function App() {
|
||||||
type="text"
|
type="text"
|
||||||
id="testCountBox"
|
id="testCountBox"
|
||||||
name="testCountBox"
|
name="testCountBox"
|
||||||
|
placeholder={testCount}
|
||||||
onChange={testCountChange}
|
onChange={testCountChange}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<p>(It will only give you as many verses as there are in selected packs)</p>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
Set Shuffle:
|
Set Shuffle:
|
||||||
<input
|
<input
|
||||||
|
|
Loading…
Reference in New Issue