Front-end development interview knowledge points outline:
1. HTML&CSS:
Understanding of Web standards, browser kernel differences, compatibility, hacks, basic CSS skills: layout, box model, selector priority and use, HTML5, CSS3, mobile terminal adaptation
2. JavaScript:
Data types, object-oriented, inheritance, closures, plug-ins, scope, cross-domain, prototype chain, modularization, custom events, memory leaks, event mechanism, asynchronous loading callbacks, template engine, Nodejs, JSON, ajax, etc.
3. Others:
HTTP, security, regularity, optimization, reconstruction, responsiveness, mobile terminal, team collaboration, maintainability, SEO, UED, architecture, career
As a front-end engineer, you should master the knowledge points no matter how long you have been working:
1. DOM structure - what relationships may exist between two nodes and how to move between nodes arbitrarily.
2. DOM operations - how to add, remove, move, copy, create and find nodes, etc.
3. Events - how to use events, and the differences between IE and the standard DOM event model.
4. XMLHttpRequest - what is it, how to completely execute a GET request, and how to detect errors.
5. Strict mode and mixed mode - how to trigger these two modes and what is the significance of distinguishing them.
6. Box model - the relationship between margins, padding and borders, and the box model in browsers below IE8
7. Block-level elements and inline elements - how to control them with CSS and how to use them rationally
8. Floating elements – how to use them, what problems they have, and how to solve them.
9. HTML and XHTML - what is the difference between the two? Which one do you think should be used and why?
10. JSON - Function, purpose, design structure