
Javascript Lesson 11 + 12
Authored by Quang Vinh
Specialty
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong javascript, object nào đại diện cho trang web
document
window
location
browser
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức nào để tìm element theo id
getElementById()
getElementsById
getElementId
getId
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Nếu dùng code này thì sẽ lấy ra cái gì?
document.querySelectororAll('.box');
Lấy element cho class box đầu tiên
Lấy element có id là box
Lấy tất cả element có class là .box
getElementByClassName
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức nào để thêm một element con
appendChild()
replaceChild()
addChild()
createChild()
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Muốn thêm một function khi một event xảy ra thì dùng phương thức nào?
addEventListener
createEvent
addFunction
addEvent
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức nào tìm kiếm element theo class
getElementsByTagName
getElementsByClassName
getElementsByClass
getElementByClassName
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cái nào dưới đây là web storage?
localStorage
serverStorage
webStorage
dataStorage
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?