There are a lot of small partners who are particularly concerned about interviewing web front-end development engineers, which questions the interviewer will ask. Today, Zhuo to collect the "Ali Web front-end development of the question" to organize to share to the big guys to see, and quickly collection to prepare it ~ ~
CSS box model, absolute positioning and relative positioning
1) Clear floating, when need to clear the float, clear the float what are the methods
2) How to keep the horizontal vertical center of the floating layer
3) values and respective meanings and usages of position and display
4) style hierarchy, selector priority, style conflict, and how to write out the style module, say the idea, have no practical experience
Second, JavaScript basics
1) What data types are in JavaScript, explain null and undefined, explain the original data type and reference data type. For example, tell me the difference between 1 and number (1)
2) What is prototype, the understanding of the prototype chain, and when to use prototype
3) What is the meaning of this in the function, and under what circumstances, how to use it.
4) What is the meaning of apply and call and what is the difference? When to use.
5) What are the native methods of arrays and objects, and what are the meanings of these, such as the method used to link two arrays, to delete the quality of the array.
Third, JavaScript object-oriented
1) JS Module packaging format has been used, CommonJS, AMD, CMD, KMD. Define a JS module code, what is the most streamlined format.
2) JS How to achieve a class. How to instantiate this class.
3) Whether you know about custom events. What does the fire function in jquery mean and when?
4) Talk about the JS design pattern, explain the Singleton, the factory, the Observer.
5) What are the methods of the Ajax cross-domain, and what is the principle of JSONP, if the page encoding and the requested resource encoding are inconsistent?
Iv. Open Source Tools
1) Are you aware of open source tools bower, NPM, Yeoman, Grunt, gulp, have no use, have written, a NPM package Package.json have the necessary fields are what (name, version number, dependency)
2) fiddle, Charles have used, when to use
3) will not use PS buckle map, PNG, JPG, gif these picture format explanation, respectively when use.
4) say the command-line tools you use most often
5) will not use Git, say a few commands, say the difference between git and SVN, there is no git to solve the conflict
V. Fundamentals of the computer
1) Talk about the network five Layer model (the HTTP protocol from the application layer to the bottom of the protocol based on which protocols), the HTTP protocol header field says a few, how the cache field is defined, the difference between HTTP and HTTPS, when the specific use of what is different. Whether to master the HTTP protocol as detailed as possible.
2) What is the cookie about, how does the cookie between the server and the browser be transmitted, what is the difference between the HttpOnly cookies and the readable and writable cookies, and whether there are any length restrictions
3) The entire process from typing a URL to rendering complete, including the DOM build process, says about the details the better.
4) Understanding Web injection attacks, the principle, the two most common types of attacks (XSS and CSRF) to understand the extent.
5) Whether to understand public key cryptography and private key encryption. How to ensure that the password field in the form submission is not compromised. What does the captcha do to solve the security problem?
6) Coding Common sense: File encoding, URL encoding, Unicode encoding what meaning. How a GBK encoded page correctly references a UTF8 resource
VI. Study ability and methodology
1) What is the website you must log into every day (front-end technology related)?
2) Front-end technology has seen what books, have no notes, what harvest.
3) What code snippets are collected?
4) How to understand the trend of front-end technology? What kind of knowledge reserve do you have?
How many words can you answer after reading it? Don't hurry to do the homework! Through some of the above knowledge, we can find out some of their shortcomings, and then learn, he le? I believe that as long as you master the hard power, your career path will certainly be the green light. "If you want to join the Internet IT industry, you happen to be 0 basis, or want to enrich the skills, then don't hesitate, come on!" 2017 Shanghai Soft Excellence and you have about ~ we use integrity to build brand, with the brand to prove our strength! Shanghai Soft Excellence is worthy of your favor and trust! ”
This article is from the "12823181" blog, please be sure to keep this source http://12833181.blog.51cto.com/12823181/1918436
It career Jingwei Ali web front-end interview questions, how many can you answer?