Skip to content

Commit 755df0d

Browse files
boyeonihnViolet-Bora-Lee
authored andcommitted
fix: [오타수정] Part 2 1.4 getElementsBy* 섹션 form 오타 (#1522)
1 parent 2259734 commit 755df0d

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/04-searching-elements-dom

1 file changed

+1
-1
lines changed

2-ui/1-document/04-searching-elements-dom/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ document.getElementsByTagName('input')[0].value = 5;
254254
// name 속성을 이용해 검색
255255
let form = document.getElementsByName('my-form')[0];
256256
257-
// fomr 내에서 클래스 이름을 이용해 검색
257+
// form 내에서 클래스 이름을 이용해 검색
258258
let articles = form.getElementsByClassName('article');
259259
alert(articles.length); // 2. 클래스 속성값이 'article'인 요소는 2개입니다.
260260
</script>

0 commit comments

Comments
 (0)