ฝึกสัมภาษณ์ Frontend

ฝึกคำถามสัมภาษณ์ Frontend ต้นฉบับ 60 ข้อครอบคลุม JavaScript HTML CSS React เบราว์เซอร์ ประสิทธิภาพ การเข้าถึง และความปลอดภัย

ระดับ: Frontend Interview ความยาก: intermediate 60 ข้อ 60 นาที
เลือกโหมดฝึก ตอบแต่ละข้อ แล้วทบทวนคำอธิบาย ข้อที่ผิดจะถูกบันทึกไว้ในเครื่อง
จำนวนวันต่อเนื่อง: 0 วัน บันทึกเฉพาะอุปกรณ์นี้
ความคืบหน้า 0 / 60
ข้อ 1

What is a JavaScript closure?

เลือกคำตอบ
ข้อ 2

What is hoisting in JavaScript?

เลือกคำตอบ
ข้อ 3

What is the difference between == and ===?

เลือกคำตอบ
ข้อ 4

What is a Promise?

เลือกคำตอบ
ข้อ 5

What does async/await do?

เลือกคำตอบ
ข้อ 6

What is event delegation?

เลือกคำตอบ
ข้อ 7

What does `this` refer to in JavaScript?

เลือกคำตอบ
ข้อ 8

What is a pure function?

เลือกคำตอบ
ข้อ 9

What is immutability?

เลือกคำตอบ
ข้อ 10

Which array method creates a new array by transforming each element?

เลือกคำตอบ
ข้อ 11

Which array method returns elements that match a condition?

เลือกคำตอบ
ข้อ 12

Which array method reduces an array to a single value?

เลือกคำตอบ
ข้อ 13

What is a Set in JavaScript?

เลือกคำตอบ
ข้อ 14

What is localStorage?

เลือกคำตอบ
ข้อ 15

What is semantic HTML?

เลือกคำตอบ
ข้อ 16

Which landmark element represents the main content of a page?

เลือกคำตอบ
ข้อ 17

What is CSS specificity?

เลือกคำตอบ
ข้อ 18

In the CSS box model, which property sits between padding and margin?

เลือกคำตอบ
ข้อ 19

What is flexbox designed for?

เลือกคำตอบ
ข้อ 20

What is CSS Grid designed for?

เลือกคำตอบ
ข้อ 21

Which CSS unit is relative to the root font size?

เลือกคำตอบ
ข้อ 22

Which CSS unit is relative to viewport width?

เลือกคำตอบ
ข้อ 23

What does a media query do?

เลือกคำตอบ
ข้อ 24

What does position: fixed do?

เลือกคำตอบ
ข้อ 25

What is a pseudo-class?

เลือกคำตอบ
ข้อ 26

What does box-sizing: border-box do?

เลือกคำตอบ
ข้อ 27

What is a React component?

เลือกคำตอบ
ข้อ 28

What are props in React?

เลือกคำตอบ
ข้อ 29

What is state in React?

เลือกคำตอบ
ข้อ 30

What is a React hook?

เลือกคำตอบ
ข้อ 31

Which hook manages state in a function component?

เลือกคำตอบ
ข้อ 32

Which hook runs side effects after render?

เลือกคำตอบ
ข้อ 33

What is the virtual DOM?

เลือกคำตอบ
ข้อ 34

Why do list items need keys in React?

เลือกคำตอบ
ข้อ 35

What is a controlled input in React?

เลือกคำตอบ
ข้อ 36

What is reconciliation in React?

เลือกคำตอบ
ข้อ 37

What does useMemo do?

เลือกคำตอบ
ข้อ 38

What is the DOM?

เลือกคำตอบ
ข้อ 39

Which method selects an element by its id?

เลือกคำตอบ
ข้อ 40

Which method attaches an event listener?

เลือกคำตอบ
ข้อ 41

What is event bubbling?

เลือกคำตอบ
ข้อ 42

What is the event loop?

เลือกคำตอบ
ข้อ 43

What is a microtask?

เลือกคำตอบ
ข้อ 44

What is requestAnimationFrame used for?

เลือกคำตอบ
ข้อ 45

What is a cookie?

เลือกคำตอบ
ข้อ 46

What does stopPropagation do?

เลือกคำตอบ
ข้อ 47

What is debouncing?

เลือกคำตอบ
ข้อ 48

What is throttling?

เลือกคำตอบ
ข้อ 49

What is lazy loading?

เลือกคำตอบ
ข้อ 50

What are Core Web Vitals?

เลือกคำตอบ
ข้อ 51

Which Core Web Vital measures visual stability?

เลือกคำตอบ
ข้อ 52

Which Core Web Vital measures loading performance?

เลือกคำตอบ
ข้อ 53

What is ARIA?

เลือกคำตอบ
ข้อ 54

What is XSS?

เลือกคำตอบ
ข้อ 55

What is a Content Security Policy?

เลือกคำตอบ
ข้อ 56

What is CORS?

เลือกคำตอบ
ข้อ 57

Which of the following are JavaScript array methods? Select all that apply.

เลือกคำตอบ
ข้อ 58

Which of the following are React hooks? Select all that apply.

เลือกคำตอบ
ข้อ 59

Flexbox is the best choice for two-dimensional grid layouts.

เลือกคำตอบ
ข้อ 60

Match each CSS unit to its meaning.