All kinds of interview questions required for Web Front-end job-hopping after years, and for web Front-end job-hopping

Source: Internet
Author: User

All kinds of interview questions required for Web Front-end job-hopping after years, and for web Front-end job-hopping

Lucky and glorious, the boss arranged a task-"sort out front-end interview questions ". Years ago it was really not a good time to recruit people, so our front-end team was overloaded and finally insisted on the Spring Festival. After the Spring Festival, I started recruiting people. The goal of this set of questions is to lay the foundation and then lay the foundation.

Statement in advance:

◆ Source of these questions: I have been asked for an interview; I have been asked or met for a job; I have seen it online...

◆ The answer is really not provided. It is true that many questions require personal understanding and accumulation, so please do it yourself... the front-end can try to answer a few questions, haha.

◆ In fact, I don't have a good answer to many questions. If I encounter a cool person during the interview, I can also exchange ideas by the way. I am only one side, and I am not afraid of shame.

◆ If your friends have good interview questions, you are welcome to give suggestions. I will actually update them. Thank you first.

HTML-related

1. <! DOCTYPE> label definition and usage.

2. What are block-level and intra-row elements?

3. Do you really understand HTML? The Yahoo interview questions show you the yellow bottom section and search it. (I was asked during an interview at a company called langlang. This is indeed a good question ).

CSS Problems

1. Introduce the known CSS hack skills (such as _, *, +, \ 9 ,! Important ).

2. Introduce the CSS box model.

3. What is CSS Cascade? Introduction.

4. All CSS browser compatibility issues are known.

5. Sometimes you will be asked some questions about the drill point, such as the position value and what new content does CSS3 have...

JavaScript Basics

1. What are the status messages of the HTTP protocol? (For example, descriptions of 200 and 302)

2. What Is AJAX? AJAX interaction model (process )? What is the cross-origin AJAX solution?

3. What is the difference between synchronization and Asynchronization?

4. Briefly describe JavaScript encapsulation.

5. Description of the two forms of JavaScript inheritance.

6. What is a closure? In the following code, click <p> what will be output? Why? If you can make a general summary, continue to ask questions and come up with several solutions.

  1. <! Doctype html>
  2. <Html>
  3. <Head>
  4. <Meta charset = "UTF-8"/>
  5. <Title> closure demonstration </title>
  6. <Style type = "text/css">
  7. P {background: gold ;}
  8. </Style>
  9. <Script type = "text/javascript">
  10. Function init (){
  11. Var pAry = document. getElementsByTagName ("p ");
  12. For (var I = 0; I <pAry. length; I ++ ){
  13. PAry [I]. onclick = function (){
  14. Alert (I );
  15. }
  16. }
  17. }
  18. </Script>
  19. </Head>
  20. <Body onload = "init ();">
  21. <P> product 0 </p>
  22. <P> product 1 </p>
  23. <P> product 2 </p>
  24. <P> product 3 </p>
  25. <P> product 4 </p>
  26. </Body>
  27. </Html>

7. Application and usage of the this keyword in JS (such as in constructor and setTimeout ).

8. Briefly describe the operations on cookies and the attributes of cookies.

9. What are the JS compatibility of IE and FF.

10. DOM operations-how to add, remove, move, copy, create, and search nodes (This question is really a basic question and is generally not asked ).

JQuery-related

1. Have you tried to read jQuery source code? Let's talk about the basic architecture or the judgments made by jQuery. fn. init.

2. All know the bad jQuery writing methods.

3. Have you read Sizzle?

Other related bonus points:

1. I have used and understood which editors? What daily tools have you used and understood?

2. All know which browser kernels are available? Which browsers are compatible with developed projects?

3. What do JS coders both at home and abroad know?

4. Do you know about Waterfall stream layout or stream layout?

4. Have you ever studied regular expressions (reading books or online tutorials )? If you have any questions, ask for simple email verification and URL verification, or ask about the theoretical knowledge of greedy matching and lazy matching.

5. Have you tried Node. js? To what extent? What do I think I understand?

6. What new JS APIs does HTML5 have?

7. What are front-end optimization knowledge?

8. Basic algorithm questions (such as fast sorting, can you talk about important core principles or array deduplication in one or two sentences ).

9. Have you ever touched or understood refactoring.

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.