How to prepare for an interview for a front-end developer


In my previous post I wrote about a job interview from the interviewer’s perspective. Today I will try to give you some advice on how to prepare for an interview for a front-end developer position as a candidate.

Think about the questions you should expect

First of all, you should read the job offer carefully – which technologies and tools are required and which are only nice to have. I believe that you know at least those that are required 😉

If you know the requirements you can think about the questions you can expect. Please see below a list of questions you should expect when you apply for a front-end developer position:

  • your previous projects, which technologies, tools and architecture you used
  • questions about technologies and tools which are required in the position
  • general JavaScript, HTML, CSS questions

Question about your previous projects

The first question you should expect is to say something about your projects. I think this is a very good opportunity to show yourself from your best side. Think about your previous projects and pick the one which fits the requirements best or one that you are most proud of. Prepare a short speech about it – tell the interviewer about the framework you used but also about the tools. If possible, show that you used modern front-end approaches for development, e.g. apart from telling them about the use of Angular/React, say also that you were using Webpack/Browserify as a bundler, Grunt/Gulp for automatization etc. If you can, tell them about some interesting cases encountered during the project and how you solved them.

On the other hand, even if you haven’t used any of the mentioned technologies/tools, the recruiter will probably ask if you know them so be prepared for that! It would be great if you can tell them that you tried them in, for example, your pet project. Or, even better, in an open source project you contributed to.

During the speech about your previous projects, you should be prepared for some questions about the tools you used. For example, when you say that you used Grunt/Gulp for automatization, the recruiter may ask which one is better and why… or what the benefits of using a bundler are… So please remember that when you talk about something, you have to know what you are talking about 😉

Question about technologies/tools required in the position

When a company is looking for a new employee, they usually need someone who can get familiar with a project as quickly as possible. That’s why they want to know how well you know technologies and tools required in the position.

So, during the preparation you should think about what you know about the technology they are using and be ready for general questions specific to their needs. For example, when they look for someone with experience in React, they may ask about the React lifecycle, what JSX is or how VirtualDOM works etc. Fortunately, you can find many examples of such questions on the Internet so spend some time on the research.

General JavaScript questions

I think this is the most important part of a front-end developer interview. If someone knows the answer to these questions, it means that they are interested in this matter and have dug deeper. If you want to be a JavaScript developer you should know the answer to these key questions.

Please see below a sample list of general JavaScript questions you should expect during an interview:

  • what is the scope of variables in ES5?
  • what is the IIFE (Immediatelly-Invoked Function Expression)?
  • do you know the revealing module pattern?
  • how can you change the context of the function?
  • what are promises?
  • what is callback?
  • how can you avoid callback hell?

Of course this is not all and you should be prepared for many more questions similar to the ones above. And please do not neglect this. I think that even if you don’t have too much experience in technologies required in the position, your chances of getting the job increase when you answer these general JavaScript questions correctly.

Other important things

Answering questions is not the only thing you should care about if you want to make a positive impression.

Firstly, you should know something about the company you are applying to. And to show that you researched them before the meeting, ask questions about them.

Actually, it’s good to have questions for the recruiter, not only about the company. I’m sure there are many things that are important to you and an interview is the best place to ask them. For example, you may want to know if they have overtime and how often. Do they pay for it or give a day off. You can ask about the project, what tools they use, what architecture etc. Remember, it’s not only them that should be happy hiring you, you should also be happy working for them!

And last but not least! It is obvious that you should be prepared for the question about your financial expectations… I know that this might not be easy for many people so it’s good to have the amount of money you want to earn prepared. Think about it before the meeting – thanks to this, you will be perceived as a determined person who knows what they want.


Being interviewed is not an easy task, especially if you are a beginner. Good preparation for the meeting should help you to do it well, reduce your stress and bring you closer to success. I hope my advice will help somebody prepare for an interview and get a better job!

Related Post

I recommend Nozbe

Simply Get Everything Done

Get your tasks and projects done thanks to Nozbe system and apps for the Mac, Windows, Linux, Android, iPad and iPhone.

If you want to know more about Nozbe and its capabilities, please take a look at my article about this great application.