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