Insert missing array index in solution
This commit is contained in:
parent
101f8ba623
commit
a87a866613
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ let form = document.getElementsByName('search')[0]
|
||||||
document.querySelector('form[name="search"]')
|
document.querySelector('form[name="search"]')
|
||||||
|
|
||||||
// 5. The first input in that form.
|
// 5. The first input in that form.
|
||||||
form.getElementsByTagName('input')
|
form.getElementsByTagName('input')[0]
|
||||||
// or
|
// or
|
||||||
form.querySelector('input')
|
form.querySelector('input')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue