1. Tell me when have you solved a problem that didn't involve you coding?

This could be anything from the time they fixed the coffee machine, or helped a colleague fix their bike. It doesn't really matter what they did - it just gives you an indication of how they solve problems and interact in the wider corporate environment.

2. Tell us what do you know about CORS?

CORS (Cross-Origin Resource Sharing) is a HTML5 staple that should be familiar to most front-end web developers. It allows you to request many different resources (jQuery, fonts, and so on) from a domain outside of the domain from which the resource came from.

3. Tell us can you describe your workflow when you create a web page or web app?

This is a good way to assess how your candidate approaches a basic chunk of work. Do they use snippets to quickly layout a basic HTML page, add a little jQuery and start coding? Or do they use a more in-depth approach such as Bower or Yeoman?

4. Explain me a project that disappointed you. What would you change?

Continuous self evaluation is a must for a developer. You do not want to employ someone who continues to make the same mistakes.

5. Tell me what tools do you use to find a performance bug?

This will depend on your candidate's development environment as different programming languages use different profilers and some frameworks have built-in debug tools to find performance issues. This doesn't matter too much, but their approach does.

6. Tell us about your preferred development environment?

It doesn't matter whether your candidate is working with your exact development environment or not - but you do need to find someone who is adaptable to different environments and will voice their opinions. It will also give you an indication of whether they have experience with frameworks, version control systems, unit testing, and others.

7. Tell us how are you keeping up with the latest developments in web development?

In other words, this will determine if your candidate continues to learn programming and makes the effort to stay on top of his skills. You can ask your candidate about their favorite programming-related Twitter accounts and why they like it, for example. If your candidate doesn't use Twitter, ask which tech publications they read and authors or personalities in the dev world they admire and why.

Web development is always changing, so being curious about the latest trends and forming opinions about them is typicially a good sign.

8. Explain me what a Thread-Local object in Python Flask is?

Through Python Flask, front-end developers use thread local objects internally. This is a function of user-friendliness which does not require the user to pass objects around from one function to another. This paves the way to process a request alongside permitting to operate in a “threadsafe” condition. Although this approach is worthwhile, it is essential to obtain a valid request context for dependency injection or when you are trying to reuse the code which employs a value tagged to the request.

9. Tell us what are some of your best soft skills?

You may be looking for a problem solver, brilliant communicator, or someone with a willingness to learn. Ask them to give examples of how they can demonstrate this skill, and use this to determine whether or not this fits what you are looking for. Depending on the nature of the job, you may prioritize certain soft skills over others.

10. Tell us how do you structure your CSS and JavaScript to make it easier for other developers to work with?

Front end developers often work on code created by previous employees or operate as part of a team. This question gives you an idea of whether they can create websites or web applications that will be understandable by other employees. What to look for in an answer:

Experience with code organization and code commenting
First-hand knowledge of what happens when code isn't commented appropriately
A willingness to make things easier on the other development teams
Example: "I organize my stylesheets with sections for each site component. Each section has comments throughout the code so other developers can change it."

Download Interview PDF