Front-end interview questions: common basic questions

1 What is the Holy Grail layout?
2 Have you used flexible layout? How to achieve it?
3 How to center the box up and down, left and right?
4 Realize the horizontal and vertical centering of the text?
5 How to clear floats?
6 How to eliminate BFC?
7 What are the new attributes of C3?


1 What are the new tags in H5?
2 What are the benefits of semantic tags? Can you give an example?


1 How to get the node?
2 Basic data types of JavaScript?
3 New types?
4 The difference between null and undefined?
5 How to judge the data type?
6 Prototype, prototype chain, prototype object?
7 Deep copy and shallow copy?
8 Same-origin policy?
9 Crossing?
10 What is the difference between call bind apply?
11 Scope chain?
12 Closure?
13 Event Loop Mechanism
14 Asynchronous and Synchronous
15 Promise
16 Microtasks and Macro Tasks
17 Direction of this
18 Strict Mode
19 Differences between const, let, and var
20 Understanding of arrow functions
21 Lazy loading and preloading
22 What stages are included in the DOM event stream
23 Commonly used methods of arrays
24 Do you know several methods of array weighting
25 Differences between Href and src
26 Differences between Px, Rem, Em,%
27 Differences between opacity and rgba
28 Page performance optimization
29 Differences between cookies, sessionStorage and localStorage
30 Once What is the process of a complete HTTP transaction?
31 What happened from the request sent from URshiL to the page rendering?
32 How to determine the most frequent occurrences in a string
33 Network status code

Guess you like

Origin blog.csdn.net/m0_46442996/article/details/115318036