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 101f8ba commit a87a866Copy full SHA for a87a866
2-ui/1-document/04-searching-elements-dom/1-find-elements/solution.md
@@ -25,7 +25,7 @@ let form = document.getElementsByName('search')[0]
25
document.querySelector('form[name="search"]')
26
27
// 5. The first input in that form.
28
-form.getElementsByTagName('input')
+form.getElementsByTagName('input')[0]
29
// or
30
form.querySelector('input')
31
0 commit comments