Summary of common front-end interview questions and common interview questions

Source: Internet
Author: User

Summary of common front-end interview questions and common interview questions

I. Front-end development interview

1. HTML & CSS


Basic Web Standard understanding, browser kernel differences, compatibility, hack, and CSS skills: layout, box model, selector priority and usage, HTML5, CSS3, mobile terminal adaptation

2. JavaScript


Data Type, object-oriented, inheritance, closure, plug-in, scope, cross-origin, prototype chain, modularity, custom events, memory leakage, event mechanism, asynchronous loading callback, template engine, Nodejs, JSON, ajax, etc.



3. Others


HTTP, security, regular expression, optimization, reconstruction, response, Mobile End, team collaboration, maintenance, SEO, UED, architecture, and career
 

 

Ii. HTML Problems

 

1. What is the role of the document type? How many types of documents do you know?

2. What is the difference between the standard and weird browser modes?

3. What are the limitations of using XHTML?

4. What if the webpage content needs to support multiple languages?

 

5. Can I use the XHTML syntax on HTML5 pages?

6. How to use XML in HTML5?

7. What is the role of the 'data-'attribute?

8. If HTML5 is regarded as an open platform, what are its construction modules?

9. What is the difference between cookie, sessionStorage and localStorage?

10,Let's talk about the differences between innerHTML outerHTML innerText.

 

Iii. JS Problems

 

1. What Javascript libraries have you used?

2. Have you studied the source code of your JS library or framework?

3. What is a hash table?

4. What are the variables 'undefined' and 'undefined?

 

5. What is a closure, how to use it, and why?

6. Can I cite a typical example of an anonymous function?

7. Explain what is the Javascript module mode and give examples.

8. How do you organize your own code? Is the module mode used or the classic Inheritance Method used?

 

9. What is the difference between a Javascript Host object and a built-in object?

10. What is the difference between '. call' and'. application?

11. What is the role of 'funciton. prototype. bind?

12. How do you optimize your code?

 

13. Can you explain how inheritance in JavaScript works?

14. What is the difference between browser feature detection, feature inference, and browser UA string sniffing?

15. Please explain the working principles of AJAX as much as possible.

16. Explain how JSONP works and why it is not real AJAX.

 

17. Have you used a JavaScript template system?

18. Please explain how the variable declaration is upgraded.

19. Describe the event bubbling mechanism.

20. What is the difference between "attribute" and "property?

 

21. What are the differences between '=' and '=?

22. How do you obtain the parameters in the query string in the browser URL.

23. Please explain the same source policy of JavaScript.

24. Please explain the event proxy.

 

25. Describe a JavaScript memoization policy to avoid repeated operations.

26. What is a ternary conditional statement?

27. What is the parameter element of the function?

 

Iv. jQuery Problems

 

1. You know the Optimization Methods for jQuery.

2. Explain the use of '. end.

3. How do you give an event processing function namespace? Why?

4. Specify four different values that you can pass to the jQuery method.

 

5. Indicate the differences between '. get ()', '[]', and 'eq.

6. Note the differences between '. bing ()', '. live ()' and '. delegate.

7. What is the difference between '$' and '$. fn? Or the user who says '$. fn.

 

V. CSS Problems

 

1. Describe the function and purpose of css reset.

2. Describe the downloading and how it works.

3. The methods used to clear the float are applicable to different situations.

4. explain how to use css sprites.

 

5. What is your favorite image replacement method and how do you choose to use it.

6. How to provide web pages for browsers with functional limitations.

7. How to visually hide webpage content and make them available only in screen readers.

8. Have you used a grid system? If you have used it, which one do you like best?

 

9. Have you ever used meidia queries or CSS la s related to mobile websites.

10. Are you familiar with writing SVG styles?

11. How to optimize the Print Style of a webpage.

12. What issues should I consider when writing efficient CSS files.

13. Have you ever touched on the design of non-standard fonts?

14. Briefly describe the differences between div elements and span elements.


One web Front-end interview question

If you do not need to be compatible with ie6, you can set the attributes of the img Tag maxWidth and maxHeight. Do not set the width and height to avoid distortion.
 
What are common javascript interview questions?

Variables, syntaxes, and other basic things.
Then, advanced Write Functions with certain functions, such:
Sorting, conversion of strings to arrays, conversion of arrays to strings, and so on
The core of DOM (including HTML, XML, and so on) operations on JavaScript is to operate on elements. This will inevitably be an exam. Otherwise, we should learn how to use JavaScript and remember some common method attributes.
Regular Expressions. Pay attention to a greedy and lazy matching expression.
JS object
Ajax may also have
In addition, CSS will also
There should be some basic things. As long as you have strong basic knowledge, the interview is not a problem.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.