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 2259734 commit 755df0dCopy full SHA for 755df0d
2-ui/1-document/04-searching-elements-dom/article.md
@@ -254,7 +254,7 @@ document.getElementsByTagName('input')[0].value = 5;
254
// name 속성을 이용해 검색
255
let form = document.getElementsByName('my-form')[0];
256
257
- // fomr 내에서 클래스 이름을 이용해 검색
+ // form 내에서 클래스 이름을 이용해 검색
258
let articles = form.getElementsByClassName('article');
259
alert(articles.length); // 2. 클래스 속성값이 'article'인 요소는 2개입니다.
260
</script>
0 commit comments