preface
After May Day, I was busy reviewing and settling down, so I haven’t updated recently. I’m really sorry that this article records frequent questions during the interview. If you don’t have any big problems with these questions, then I think it’s ok to at least get an intermediate grade!
Half a month of time, big and medium have to see, thinking of the contact before a few big factory bosses, can help push, but are stuck in the education background this piece, have no way, ah, can only try hard to fill a fill! Finally, I received 6 offers in total, but the result was not as bad as I expected, so I chose a good one to start a new journey!
Video phone surface, the surface, is essentially about one and a half hour or so, so maybe some words not too clear, but more frequently and common I noted down, after the summary about 60 problem, and we do a share, you can check in need are missing, the article also I revise my watch is attached to the end of data.
q
The HTML related
- Talk more about the box model
- List the block-level elements and the inline elements, which is the picture
- BFC Causes and solutions
- Why semantic
- The role of the doctype
- The difference between link and @import
CSS related
- What are the CSS design patterns
- How to compress images, how to convert PNG to JPG, pNG8, PNG24, pNG32 difference
- Width and height proportional but variable, how to reduce the height by half (test the padding-bottom)
- The advantages of the transform
- Support the left side with child elements and adaptive width on the right side (no flex)
- Flex related CSS writing
JS related
- How do functions inherit, class inherit, and the difference between them
- Why does a declared string have a.tostring method
- Write promises and then by hand
- Promise. The principles and results of race
- WebSocket principle, and HTTP differences
- Gets a single element and multiple elements in an array
- This refers to the problem, implement a false this
- Implement new, apply, call, and bind
- How does a subfunction inherit from two parent functions
- Js type judgment and differentiation, handwriting instanceof
- Find the intersection of arrays
- 0.1 + 0.2! =0.3 causes and solutions
- SetTimeout principle
- The usage of Map and Set, WeakMap and WeakSet difference
- Decrement of simple arrays and object arrays
- Object. DefineProperty advantages and disadvantages
- The pros and cons of closures and their usage scenarios
- Js chained call correlation
- Achieve anti-shake and throttling
- The use of the proxy
- What timers are there, and what are their return values and differences
Mobile correlation
- How to adapt the mobile terminal
- Mobile compatibility issues encountered
Engineering correlation
- Webpack operation principle or build structure, plugin and loader difference
- NPM update mechanism and use of NPM Lint
- Git use (at least 10 commands)
- Principle of CDN
- How to optimize the front end
The browser
- V8 engine principle, browser CSS and JS compilation principle or process
- How is HTTPS encrypted
- The page rendering principle of the browser, talk about its resource cache and data cache
- Cross-domain problem causes and solutions
- Browser garbage collection mechanism
Algorithm related
- Js implement stair climbing problem
- What kinds of sorts there are and the differences and complexity
- Rsa Encryption Principle
Design patterns
- Implement the publish and subscribe model
- Implement observer mode
Vue2 related
- The function of scope in VUE, and the difference with BEM
- Vue – principle of the router
- When is vue-Router loaded and blocked
- Slot Slot principle in VUE
- Keepalive principle in VUE
- Response formula principle of VUe2
- Action and process of VUEX, mutation and action
- Principles and differences between computed and Watch in VUE
- Realization principle of V-model in VUE
- Advantages and disadvantages of virtual VDOM
process
Because I am the main Vue technology stack, I didn’t mention react and Angular. Vue3 mentioned responsiveness, API and other questions, but I didn’t answer them well, because the interviewer could tell whether Vue3 was good or not. So I didn’t prepare much knowledge about Vue3 at all. The main is a solid foundation, HTML, CSS, JS must be solid, during the interview have to do some js questions, such as asynchronous nesting what, master their order, down on the line, even if the answer is not correct, you can also tell the interviewer about your analysis process, let him know that you are not made up, Although not right but have their own ideas is also a better way to deal with, but to the right answer, there is no way.
I also forced myself to write code by hand every day, such as Apply, Call, bind, this, new, Promise, Instanceof, publish, subscribe, observer, etc., to memorize it first, then explain why I wrote it, and then make sure they didn’t forget anything else when reviewing. For example, if the interviewer asks you about the principle of promise, do you say value, reason, resolve, reject… Why don’t I just write it by hand, and I can give you the details? It is very obvious, and, while forcing myself to write by hand, SLOWLY I really understand the logic inside it, why not, right? Anyway, I finish writing every day in the wrong mood ha ha ha! The foundation must be solid! The foundation must be solid! The foundation must be solid!
In addition to your base with the technology stack source must be ever again, I think whether watching video, see the article, all for a time, in addition to the general interview face, certainly will mention about the framework, such as if good, then at least there is a good first impression, farewell, behind the overall will be very comfortable, If the principle doesn’t answer, explain how it works first.
I think the whole interview process is a process of adding points for job seekers, do not understand is 0 points, and then the face has been adding points, but is the problem of how much. Of course, there will also be 100 points minus the idea of the interviewer, this I think it is more required to know more, more understanding of the principle, deduct 1 point and deduct 5 points, I think it is the same… It’s all buckles…
In addition to the problems, such as browser principle, project engineering, algorithm what ah, also should understand, even if it is only a concept, with the best, of course, also many similar data online, collect all them according to the problems, that is, brush leetcode algorithm is, no matter how many problem, at least brush a brush.
In addition to the review, and the sequence of interview, since I have updated the resume, hundreds of messages every day to ask, some don’t want to talk to you a delay time, so I went to a few good “learning” in the factory, of course, the result may be some good, some bad, no matter before, the target is to know that where there is no review to myself, Because of the same level of position, there must be a lot of the same interview questions, the same note for different write down, must be the same, without the interview later became your advantage, may be he don’t ask, but you will, is equivalent to do more reserves, always face to the same topic, the feeling is very general, Will be afraid of the next question beyond the remembered things, if this kind of question lost the offer of the company, won’t it…
After the interview
In addition to what I prepared during the interview, I also talked with some big guys about relevant things, thank you very much.Zero one”,”Ssh_ dream in the morning”,”Huang Yi】 【Nature to wake”And”Front end Qin EdProvide change suggestions and help with push-in opportunities! Of course, there are some other friends, also thank them!
Here are some of the materials I looked at during the review period, pay attention to the materials with other materials to read together! Still have little red book and a few video of course what, also be the net to seek, everybody has need also can take oneself! (See these information is the premise of the official website over again! Nothing is more authoritative than instructions!
A bit of insight: after going through all the big factory internship interviews
From simple analysis of VUE-CLI principle to customization of front-end development templates
This article deals with webPack build optimization strategies
43 JavaScript interview questions for you
15,000 words CSS basics (Core knowledge, common requirements)
“Interview questions” 20+Vue interview questions
Nine performance optimization tips for Vue.js
How does Webpack packaging work? You will understand after reading this article!
Abjection front end, sort out to their own front end knowledge system review outline (part 1)
Abjection front end, sort out to their own front end knowledge system review outline (part 2)
Vue. Js source code – analysis of observer, DEP,watch the relationship between the three specific implementation of two-way data binding
A super comprehensive self-check list for front end engineers
Webpack basic concept, packaging process and hot update principle
24 Interview questions you may not know the difference between XX and XX
Swastika! Summarize Vue performance optimization methods and principles
What does Webpack want to know when the interviewer asks him
Hu yu’s blog, all dry goods, see article must see comments
Finally, the public and nuggets I will continue to update, drag more for a long time is also very sorry, try not to drag more in the future! Reply to “60 questions” in the public account can participate in the lucky draw oh!