Large and small companies add up to about ten, sum up the questions often asked and prepare for the use of resources, continue to roll to learn
JS
- Closures (required) must have an in-depth understanding of the various scenarios used, such as modularity
- This point
- Apply, call, bind
- The difference between an arrow function and a normal function
- JS data type, introduction
bigint
.symbol
- How do I determine the data type
- Deep copy and shallow copy
- Tell me about the ES6 you used
- Let temporary dead zone
- Set, Map, WeakSet, WeakMap (Characteristics and usage scenarios)
- JS for loop forms and differences
- Methods of array de-duplication (analyzing the time complexity of various methods)
- Promise.all() promise.race () use scenarios
- Async and await
- JS class, how to implement
- Inheritance in ES5 and inheritance in ES6
- Function Corrification + an understanding of functional programming
- Event Loop Macro task Micro task
- Asynchronous programming in JS
DOM
- Event delegation
- Bubble and capture (order, how to unbubble)
- Parameters and use of addEventListener
CSS
-
Scenario questions
Create a square on the mobile end with 30px left and right from the screen
All kinds of household
How to draw a triangle (multiple ways) draw a trapezoid
A two-column layout
-
CSS Positioning: Position property (Absolute positioning)
-
Various flex properties
-
Method to clear the float
-
Selector priority
-
Mobile ADAPTS rem principle
-
The transform property of the TRANSITION CSS animation
HTML
- HTML common line-level tags and block-level tags
- The benefits of HTML5 semantic tags
network
- Three handshakes four waves (why three, four)
- HTTP and HTTPS
- HTTPS encryption communication principle
- HTTP request methods
- Simple and non-simple requests, Option requests
- The HTTP status code
- The difference between 301 and 302 (specific usage scenarios)
- Strong Cache vs. negotiated Cache (be sure to learn more about the difference between no-cache and no-store in cache-control)
- Cookie, localStorage, sessionStorage three differences
- Cross-domain solution (detailed implementation of JSONP)
- Differences between TCP and UDP
The browser
- The entire process after entering the URL
- Do CSS and JS block browser rendering
- Refluxing and repainting
- Front-end performance optimization
webpack
If only configured, don’t write it in skills!
- The difference between Loader and Plugin
- Which plugins have you used for Webpack?
- Babel principle
- Module packaging principle
Vue
- How do components communicate with each other in VUE
- How to implement Event Bus
- The responsive data principle of Vue2 and Vue3 (used by Proxy? How is this implemented?
- Vue life cycle
- Implementation principles of the vuerouter Hash route and history route
- Compute properties computed and getters and setters inside
- Difference between V-if and V-show
- Differences between VUE2 and VUe3, new features of VUE3
- Ref and Reactive in VUe3
- The use of vuex
- Vue is different from React
- How to implement VUEX easily (Describe ideas)
React
Did not learn, ask not much ~
- How does React communicate between components
- React hooks
algorithm
- Sort (bubble and quicksort most frequently tested)
- The type of binary tree
- How to implement depth-first search and breadth-first search with what data structure
Learning resources
ECMAScript introduction to 6
Front-end hf interview essentials
God three yuan
Front-end knowledge sharing
awesome-coding-js
Summary of interview questions about Webpack
The front-end sword refers to the offer
conclusion
Front-end intern interview, most of the inspection is the foundation, the above are some common questions, when learning do not float on the surface, what back questions are done, we must use their own hands-on practice, such as JS inheritance, I only read the blog, and did not go to the implementation of their own hands, the interviewer asked a paragraph of empty, This interview let me discover a lot of knowledge to learn not deep enough, the interviewer ask principle of what, over calves, don’t say, roll to learn, refueling, iron iron people!