preface

Today, a small partner and I said that the front-end grasp is OK, mainly on the interview is not sure, Xiaobian thought, should not be most of the interview questions will meet the difficulties and solve, how can what grasp? But carefully think again, technology and interview are two different things, technology can and does not mean that the interview can pass, then let’s talk about how to go to the interview

Facing the interviewer

I read a lot of comments from interviewers online. They have interviewed hundreds of people and summed up their experiences as interviewers. After reading these experiences, I can’t help but wonder how many interviewers they had to cheat to get this conclusion.

Therefore, I summarize these points and hope that when the interviewer does not do enough, you can try your best to avoid or save it. Don’t let the interviewer’s lack of experience affect your performance.

A surprise attack

Some interviewers will directly call to ask for an interview. Because the interviewees (especially students) are in a weak position, they may not refuse the interview request, but it does not mean that the interviewees are in the best physical and mental state, which may lead to the interviewees can not give full play to their original strengths. So if the interviewer calls out of the blue and isn’t prepared, don’t be afraid to offend the interviewer. Make an appointment for another time. The interviewer will definitely call back.

denied

Interviewer may deny you describe some of the things, may be you write words too, such as the “familiar” into a “master”, reminded the interviewer “curious”, may intentionally test, test your reaction, but there was no, I don’t argue or at sea, but ask introspection and active discussion.

Aura with

Some interviewers are rigorous and dull, while the interviewees may have active thinking. The whole interview process may become that the interviewer keeps interrupting the interviewees to focus their thinking, and the interviewees feel that their thinking is constantly interrupted, which makes them angry and affects their performance. This situation is inevitable, but when you meet such an interviewer, please keep a humble attitude, the focus is to show the breadth and depth of their skills, the difference in the atmosphere will not have a decisive impact, the interviewer will not give wrong judgment for such reasons, try to leave a good impression.

End of notice

Some interviewers end an interview by saying, “That’s all for me, we’ll get back to you if we have more information.” Most of the results of the interview were actually delivered on the spot. If you feel that the time frame for giving the results is not clear enough, you can ask him, “If I haven’t contacted you in three days, does that mean I failed?” So as not to give you false hopes. Finally, you can also ask the interviewer to talk about some of your doubts in the interview, get the interviewer’s feedback, but also know what you are doing is not enough.

The interview

Face the problem that you can’t

It is quite normal that you will not answer questions in an interview. After all, the questions you encounter in your study are very different from those you encounter in your work. In addition, our perspectives on problems are also very different.

For example, a lot of people read React Fiber. But if you ask them, “Why Fiber?” they won’t answer it. What if it doesn’t? And this kind of thinking is actually very low-level. I’m sure a lot of people probably don’t think about it.

So if you have a question that you can’t answer, you can choose no first, and say I don’t feel confident that I can answer this question, of course I would like to hear you say, I can’t right now, but you can give me two minutes to think about it, let me think about the answer to this question? I think this is a good habit of thinking. First of all, you are calm when you face something that you can’t do. It’s normal that I can’t do it right now.

So if you encounter a problem, you don’t have to have a “no” or “no”. You can also respond in a positive way. From the point of view of the interviewer, the interview question is not only to examine the question itself, the right or wrong of the question is not directly linked to the final result. The interviewer wants to use the question as an opportunity to examine the interviewer’s ability to analyze and solve problems, as well as the logical reasoning and thinking style embodied in the communication process.

Talk about business with the interviewer

Business and project are completely different things, business cognition and thinking is also a very important point of examination, in this aspect, the interviewer may ask two points: business scene and technical breakthrough. Business scenario: the interviewer will ask the interviewee about their product, business model, business model, etc., to understand the interviewee’s cognition of the birth, positioning and development of the product. Technology breakthrough: The combination of technology and business is something that Alibaba has always talked about but few people have done very well. Therefore, sometimes we will inspect the interviewees to see how the technology they have done starts from the business, what changes they have brought to the business and how to evaluate the results between them.

The end of the interview

Reverse interaction

Before hanging up, the interviewer will usually give the candidate a chance to ask a rhetorical question, usually phrased as “Do you have anything to ask me?” No matter how the interview goes, it is hoped that you can speak out any doubts, such as a certain topic in the interview, the overall evaluation feedback, your suggestions or understanding of the business, team, etc. From the perspective of the interviewer, if the candidate is willing to ask you a question, at least he is an eager learner. So don’t pass up the opportunity to interact.

The interview feedback

Each end of the interview, the interviewer will leave the interview feedback in the system, if you failed in the interview, will resume on the talent pool, in which a lot of people make a resume, after the interviewer can see all the interview record before, the reason about this, is the hope that we can keep in an interview and positive attitude, seriously in the face of every interview, Even if the interview doesn’t go well, showing good qualities will increase your chances of being found, which will pave the way for success in future interviews.

Keep in touch

If you have a good chat with the interviewer, you can ask for a WeChat or something like that. The interview is a long-term thing. Even if the interview fails, you may come in for an interview later.

Front end test preparation

The interview notes include CSS, JS, Vue, React, Performance Optimization, Server Port, Design Pattern, Data Structure, and Algorithm questions, as well as hand-written code questions. The interviewer is not afraid to write code.

CSS problems

  • Flex layout
  • New features of CSS3
  • The difference between Alt and title in img
  • Create a triangle with pure CSS
  • How do you understand the box model of CSS?
  • How do I center a DIV horizontally
  • How do I center a DIV horizontally and vertically
  • How do I clear a float?

    Second, JS problem

  • What is the difference between typeof and instance of detecting data types?
  • What about deep cloning and shallow cloning?
  • What are some of the new ES6 features?
  • What’s the difference between === and === =?
  • What are some common design patterns?
  • What is the difference between a call bind apply?
  • What are the inheritance methods of js?
  • What do you think about closures?

    Vue problem

  • Talk about the understanding of Vue
  • What is the principle of the V-Model?
  • Talk about understanding the life cycle
  • What’s the difference between Vue and React?
  • Vuex process
  • What states and attributes do Vuex have
  • Two modes of VUE routing
  • The role of key values in VUE

    The React problem

  • The difference between React and Vue
  • Reducer (pure function) in redux
  • The react of refs
  • The react of keys
  • React Lifecycle
  • The React child component passes values to the parent component
  • Why does virtual DOM improve performance
  • The diff algorithm

    The server side

  • Status code
  • Caching principle of 304 (add Etag tag. Last-Modified)
  • The difference between the get/post
  • Understanding the HTTP protocol
  • HTTP and HTTPS
  • Differences between HTTP1.0 1.1 2.0
  • Web caching
  • Common Web security and protection principles

    Handwritten code

  • Implement a bind (principle through apply, call) by hand
  • Ajax (asynchronous JavaScript and XML)
  • Function throttle
  • Function anti-shake (dobounce)
  • Implement a clone function that copies values for the five major data types in JavaScript (including Number, String, Object, Array, and Boolean)
  • Implement a simple Promise
  • Publish subscriber mode (Observer mode)
  • Write a Node server manually

Full version of the front-end interview preparation notes access
Just click here”, and gave friends “Ali front-end development specification manual” for free, which includes naming specification, HTML specification (Vue Template is also applicable), CSS specification, LESS specification, JavaScript specification, Vue project specification, etc., in CSDN this year, Thank you for your support!

summary

First, to do a self-introduction, to talk about their own work experience, responsible for the project and the main responsibilities, if the interviewer is interested in the project and then talk about the details of the project, in order to let the interviewer quickly understand your experience and level, it is best to prepare the two-dimensional code on the resume, convenient preview.

Second, to express their own value, tell the interviewer your strengths and values, more than others where the place.

Third, I should express my expectations. For example, I expect myself to devote myself to doing things in the next five years. Whether the framework, project or tool, will these things contribute to the improvement of the job?

Fourth, ask, you can’t always go to the output of dry, others to understand you very clear, but you don’t know each other, looking for a job as a girlfriend, to get to know each other again after the decision, you need to ask the company’s core business is what ah, is a sunrise industry or the sunset industry, the main work in this job is what ah, do you have any future promotion space, Does the company have a training plan? Is the company technology-based or business-oriented or sales-oriented? I should learn about the company and the team I want to join from the side or the front, and consider whether I am suitable for this position.

After the four points are clear, we know what we are going to do, according to the scene to reflect, for example, some interviewers are unfamiliar with communication, come up to ask a few technical questions, you can gently say: “sorry, I am a little nervous, can I introduce myself first? Chat, on the other hand, if the interviewer in conjunction, oneself also can take advantage of this gap to ask post work content and the company’s main business, or talk about your expectations of work, of course, maybe I will meet a lot of sudden, a long talk, or want to control your emotions, because he is efficient for the purpose of his post, everything else is secondary.

Note: front end test preparation notes and Ali front end development specification manual do not forgetClick here to get, only to manual can also oh