one side
How to remove float? (I asked this question when I came up, but I remembered it later)
Method 1: Use an empty div
Method 2: overflow: hidden
Method 3: display:inline-block;
Method 4: position:absolute;
Method 5: float:left;
Method 6: zoom:1
Method 7: after pseudo-class + content method
- DOM events you know;
- Bubble capture
- Cross-browser event model
- event agent
- Introduction to the position property
- Introduction to the display property
- CSS kernel~ (I still don't know what he is asking, is the browser's CSS kernel? I don't understand it very well)
- Talk about the understanding of closures. What are the effects of closures? Why does it have this effect?
- Array deduplication
What formats are there for the pictures? What are the advantages and disadvantages of each? What are the png formats? What are the characteristics of each?
PNG8: 8-bit png supports up to 256 (2 to the 8th power) colors. 8-bit png actually supports opacity, index transparency, and alpha transparency.
- vue life cycle
- Vue source code (this was also asked)
- Talk about an understanding of scope chains and inheritance.
Although it seems very simple, the interviewer does not necessarily ask directly, so it is necessary to fully understand the usage of a certain API.
two sides
- js data type, I said one more symbol, and then asked me what API the symbol has
- The principle method of clearing the float
- What is the principle of BFC
- The smallest element of HTML, I don't understand this problem
- Binary tree traversal ideas
- Breadth and depth-first traversal of trees
- difference between process and thread
- Steps to create a thread
- Application layer protocols, I said HTTP, DNS, PTF
- Why does TCP handshake 3 times, what does each stage do, and it is different from UDP
- FTP introduction
- page parsing order
- CSS selectors and their weights
- How css inline tags are parsed during DOM rendering
- call apply bind arguments
- Implementation stack
- Do you know node? I answered to understand the asynchronous mechanism of node, and I explained several asynchronous APIs of node according to the book <Introduction to Node.js (Park Ling) Complete Scanned Version.pdf>.
Three sides
- How do you usually study? Paths 1, 2, 3, 4, ...
- 你觉得最有成就感的事情是什么1,2,3,4,……
- 你有团队协作经历没1,2,3,4,……
- 你了解的前端技术前沿的团队有哪些1,2,3,4,……
- 你平时有什么爱好1,2,3,4,……
- 5年后希望成为什么样的人
- 实习经历
- 为什么学前端
- 你不打算以后做产品之类的吗
- 你最看重公司什么
- 判断两个字符串是否互相包含的算法
- 全排列算法
hr
- 之前有了解过美团吗
- 问我有什么问题。我问了美团点评和美团的关系,之后hr就在分析
(最后因为他们需要有实习经验的人,并且上手能干活的人,结果就凉了,= =!其实感觉挺可惜的,还是要加强基础啊)
6.