preface

Front-end is the most basic HTML, CSS and JS, you can not understand the framework, do not understand the library, do not understand all kinds of automation tools, but the foundation is better

Use the technology to fit the business context.

These two sentences are the most important lessons I have learned since the interview. I go out for the interview for two purposes.

  • One is to get paid more,
  • The second is to find the right position where I can learn and apply the mainstream framework in my work.

However, after the guidance of a god, I felt that the best way for a large company like me to cut figures and assemble components is to constantly write code to consolidate my foundation, and then consolidate my foundation, which is the right way for me to learn. If you are confused like me, I strongly recommend this article by Teacher Shenghongyu, which is really inspiring to me.

The first:

Located in a building in Zhongguancun, the environment is good, the lounge has a large window can overlook the distant scenery, the interviewer is also very good, no written test, roughly asked a few questions, nuggets have students posted out.

  • Tell me about yourself: I did a really bad job at this part, giving a brief introduction to my job and stupidly giving my name. This recommendation depends on the interview routine
  • Js has several data types
null,symbol,number,string,boolean,undefined
Copy the code

Object is not a basic data type

  • How are these six data types stored? How are objects stored

I answered in terms of stacks and heaps

  • What is the difference between stack and heap

The stack will automatically allocate memory space, will automatically release. The memory allocated dynamically by the heap is of an arbitrary size and is not automatically released

  • See the article for offline storage in HTML5
  • How to achieve horizontal and vertical center alignment

I said use Flex, and then he asked me how to use Position

  • Explain the prototype and prototype chain
  • What is a component and how does it encapsulate it
  • A little bit about closures
  • How to use position to achieve horizontal and vertical center
  • How to draw a triangle with CSS
  • What’s new in ES6
  • Ever used Webpack?
  • What is event bubbling, write a JS that prevents event bubbling
  • Write an Ajax cross domain
  • Standard box model and weird box model, how to control
  • Understanding of the BFC specification
  • How do you optimize performance? What are the tools
  • Why CSS at the top and JS at the bottom
  • What was the most difficult technical problem you encountered and how did you solve it

The second

At noon, have written, is not difficult, the interviewer is senior, the above two sentences are all he told me, the don’t know how to describe, can only say that the interviewer is too professional, but also from the analysis on introduction my present work situation and application skills, strong, let me particularly understand the disparity and the insufficiency. The second team has been asking me what I know according to my work, and then digging out the level of mastery of technology, very impressive.

Pen try:

  • Css3 triggers weird box model
  • BFC
  • Json data format parsing
  • Sequence of timer execution
  • What are the differences between.foreach (),.map() and.reduce() used for
  • What’s new for ES6 and ES7
  • Encapsulate XMLHttpRequest with es6 Promise implementation

Conclusion: the foundation is really the most important, I have been entangled in the framework and foundation in the end to learn the same, now want to understand, all changes do not leave them. Don’t scribble on your resume either. A good interviewer can get a feel for your skills based on your resume, and cramming won’t work. Degree is also important. In short, lay the foundation, lay the foundation, lay the foundation. Recently, I fell in love with Zhang Xinxu’s CSS world. It’s really interesting. I used to just use it, but I don’t know why I do it.

This is also my first post, I force myself to finish tonight, is to cure my procrastination problem, by the way, the body is also the most important, to strengthen exercise. The memory of running a few laps really doesn’t feel the same as not running. With a good body and a good foundation, I believe I can find a good job. We encourage each other.

Appendix: Nuggets technology call for article link, hope everyone to participate actively, share their own experience.