Câu 20: 98-375: HTML5 App Development Fundamentals
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com makes use of HTML5 and CSS3 in their development process. You have received instructions to create a page that has script tags included. You want to access an element by id by making use of JavaScript. You…
Nội dung câu hỏi
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com makes use of HTML5 and CSS3 in their development process. You have received instructions to create a page that has script tags included. You want to access an element by id by making use of JavaScript. You then want to add a class to the element. Which of the following actions should you take?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. You should consider making use of the classList property.
- B. You should consider making use of the className property. — đáp án hiện tại
- C. You should consider making use of the tagUrn property.
- D. You should consider making use of the name property.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.