Convert Figma logo to code with AI

h5bp logoFront-end-Developer-Interview-Questions

A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.

59,516
11,052
59,516
41

Top Related Projects

⚡️ Front End interview preparation materials for busy engineers

List of 1000 JavaScript Interview Questions

A long list of (advanced) JavaScript questions, and their explanations :sparkles:

A curated collection of common interview questions to help you prepare for your next interview.

17,725

Everything you need to prepare for your technical interview

A complete computer science study plan to become a software engineer.

Quick Overview

The Front-end Developer Interview Questions repository is a comprehensive collection of interview questions for front-end developers. It provides a wide range of questions covering various aspects of front-end development, including HTML, CSS, JavaScript, and general web development concepts. The project aims to help both interviewers and job seekers prepare for front-end developer interviews.

Pros

  • Extensive coverage of front-end development topics
  • Community-driven and regularly updated
  • Available in multiple languages
  • Useful for both interviewers and job seekers

Cons

  • May not include company-specific or advanced specialized questions
  • Some questions may become outdated as technologies evolve
  • Lacks detailed answers or explanations for the questions
  • May not reflect the specific requirements of all companies or positions

Competitor Comparisons

⚡️ Front End interview preparation materials for busy engineers

Pros of front-end-interview-handbook

  • Provides detailed answers to common interview questions
  • Includes code examples and explanations for complex topics
  • Regularly updated with new content and improvements

Cons of front-end-interview-handbook

  • May be overwhelming for beginners due to its comprehensive nature
  • Focuses more on technical details than soft skills or interview strategies
  • Some answers might be too specific, potentially limiting broader understanding

Code Comparison

Front-end-Developer-Interview-Questions:

// No code examples provided in the repository

front-end-interview-handbook:

// Example: Implementing debounce function
const debounce = (func, delay) => {
  let timeoutId;
  return (...args) => {
    clearTimeout(timeoutId);
    timeoutId = setTimeout(() => func(...args), delay);
  };
};

The Front-end-Developer-Interview-Questions repository primarily consists of a curated list of questions without providing answers or code examples. In contrast, the front-end-interview-handbook offers detailed explanations and code snippets, making it more comprehensive for interview preparation.

While Front-end-Developer-Interview-Questions serves as an excellent resource for understanding the scope of potential interview topics, front-end-interview-handbook goes a step further by providing in-depth answers and practical examples. This makes it particularly useful for candidates looking for a more thorough understanding of front-end concepts and their applications in real-world scenarios.

List of 1000 JavaScript Interview Questions

Pros of javascript-interview-questions

  • More focused on JavaScript-specific questions, providing in-depth coverage of the language
  • Includes code examples and explanations for each question, enhancing understanding
  • Regularly updated with new questions and modern JavaScript concepts

Cons of javascript-interview-questions

  • Limited coverage of other front-end technologies (HTML, CSS, frameworks)
  • May be overwhelming for beginners due to its extensive and detailed content
  • Less community-driven compared to Front-end-Developer-Interview-Questions

Code Comparison

Front-end-Developer-Interview-Questions (HTML question):

<div id="example">
  <p>This is a paragraph.</p>
</div>

javascript-interview-questions (JavaScript question):

function createBase(baseNumber) {
  return function(N) {
    return baseNumber + N;
  }
}
var addSix = createBase(6);
console.log(addSix(10)); // returns 16

The Front-end-Developer-Interview-Questions repository provides a broader range of topics covering various aspects of front-end development, while javascript-interview-questions focuses specifically on JavaScript, offering more detailed explanations and code examples for each question. Front-end-Developer-Interview-Questions is more community-driven and suitable for assessing overall front-end knowledge, whereas javascript-interview-questions is better for in-depth JavaScript preparation.

A long list of (advanced) JavaScript questions, and their explanations :sparkles:

Pros of javascript-questions

  • Focuses specifically on JavaScript, providing in-depth coverage of language concepts
  • Includes detailed explanations for each question, aiding in learning and understanding
  • Regularly updated with new questions and improvements

Cons of javascript-questions

  • Limited to JavaScript, not covering other front-end technologies or concepts
  • May be too advanced for beginners or those new to JavaScript
  • Lacks practical, project-based questions that simulate real-world scenarios

Code Comparison

Front-end-Developer-Interview-Questions example:

<div id="example">
  <p>Hello, <span>world!</span></p>
</div>

javascript-questions example:

function example() {
  console.log(typeof typeof 1);
}
example();

The Front-end-Developer-Interview-Questions repository tends to include more diverse code examples covering HTML, CSS, and JavaScript, while javascript-questions focuses solely on JavaScript-specific code snippets and concepts.

Both repositories serve as valuable resources for developers preparing for interviews or improving their skills, with Front-end-Developer-Interview-Questions offering a broader range of topics and javascript-questions providing a deep dive into JavaScript intricacies.

A curated collection of common interview questions to help you prepare for your next interview.

Pros of 30-seconds-of-interviews

  • Concise answers with code snippets for quick reference
  • Covers a wide range of topics beyond front-end development
  • Regularly updated with new questions and answers

Cons of 30-seconds-of-interviews

  • Less comprehensive than Front-end-Developer-Interview-Questions
  • May not provide in-depth explanations for complex topics
  • Focuses more on specific coding questions rather than broader concepts

Code Comparison

30-seconds-of-interviews:

const debounce = (func, delay) => {
  let timeoutId;
  return (...args) => {
    clearTimeout(timeoutId);
    timeoutId = setTimeout(() => func(...args), delay);
  };
};

Front-end-Developer-Interview-Questions: (No specific code snippets provided, as it primarily consists of questions without answers)

Summary

30-seconds-of-interviews offers quick, concise answers with code examples, making it ideal for rapid review. It covers a broader range of topics and is frequently updated. However, it may lack the depth and comprehensiveness of Front-end-Developer-Interview-Questions, which provides a more extensive list of questions but without answers. The choice between the two depends on whether you prefer ready-made answers or a more comprehensive question set to guide your study.

17,725

Everything you need to prepare for your technical interview

Pros of interview

  • Covers a broader range of topics beyond front-end development
  • Includes system design and behavioral questions
  • Provides more in-depth explanations and solutions for some questions

Cons of interview

  • Less focused on front-end specific topics
  • May not be as up-to-date with the latest front-end technologies
  • Lacks community-driven contributions and updates

Code Comparison

Front-end-Developer-Interview-Questions:

function duplicateEncode(word) {
  return word
    .toLowerCase()
    .split('')
    .map((char, index, array) => 
      array.indexOf(char) === array.lastIndexOf(char) ? '(' : ')'
    )
    .join('');
}

interview:

def is_palindrome(s):
    s = ''.join(c.lower() for c in s if c.isalnum())
    return s == s[::-1]

The Front-end-Developer-Interview-Questions example showcases a JavaScript function for encoding characters based on their uniqueness, while the interview example demonstrates a Python function to check if a string is a palindrome. This reflects the different focus areas of the two repositories, with Front-end-Developer-Interview-Questions emphasizing front-end specific tasks and interview covering more general programming concepts.

A complete computer science study plan to become a software engineer.

Pros of coding-interview-university

  • Comprehensive curriculum covering a wide range of computer science topics
  • Structured learning path with clear goals and milestones
  • Includes resources for both theoretical knowledge and practical coding skills

Cons of coding-interview-university

  • Primarily focused on general software engineering, less emphasis on front-end specifics
  • May be overwhelming for beginners due to its extensive content
  • Requires significant time commitment to complete the entire curriculum

Code comparison

While Front-end-Developer-Interview-Questions focuses on front-end specific questions, coding-interview-university covers a broader range of topics. Here's a comparison of example questions:

Front-end-Developer-Interview-Questions:

// What is the output of the following code?
console.log(typeof typeof 1);

coding-interview-university:

# Implement a function to reverse a linked list
def reverse_linked_list(head):
    prev = None
    current = head
    while current:
        next_node = current.next
        current.next = prev
        prev = current
        current = next_node
    return prev

The code examples demonstrate the difference in focus between the two repositories, with Front-end-Developer-Interview-Questions targeting JavaScript and front-end concepts, while coding-interview-university covers more general programming and data structure topics.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Front-end Developer Interview Questions

This repository contains a number of front-end interview questions that can be used when vetting potential candidates. It is by no means recommended to use every single question here on the same candidate (that would take hours). Choosing a few items from this list should help you vet the intended skills you require.

Note: Keep in mind that many of these questions are open-ended and could lead to interesting discussions that tell you more about the person's capabilities than a straight answer would.

You can read more about this project & its history here.

Table of Contents

  1. General Questions
  2. HTML Questions
  3. CSS Questions
  4. JS Questions
  5. Accessibility Questions (external link)
  6. Testing Questions
  7. Performance Questions
  8. Network Questions
  9. Coding Questions
  10. Fun Questions

Getting Involved

  1. Contributors
  2. How to Contribute
  3. License

The project is currently maintained by:

Contributors

Feeling inspired? Check our Contributing guide to get started!

Darcy Clarke
Darcy Clarke

🤔 📖 🚇 👀 💬 📢 🚧
Bo-Yi Wu
Bo-Yi Wu

📖 👀
Nikolay Kostov
Nikolay Kostov

🌍
Jan Hancic
Jan Hancic

🌍
Rich Gilbank
Rich Gilbank

📖 👀
Mattias Wallander
Mattias Wallander

🌍
Songhun
Songhun

📖 🌍
Giulia Alfonsi
Giulia Alfonsi

🌍
Mike Myat Min Han
Mike Myat Min Han

🌍
SunLn
SunLn

🌍
Yi, Hangehee
Yi, Hangehee

🌍
shawnqiang
shawnqiang

🌍
Guilherme Pontes
Guilherme Pontes

🌍
lufeihaidao
lufeihaidao

🌍
Donald Zhan
Donald Zhan

🌍
Mina Markham
Mina Markham

📖
Paul Irish
Paul Irish

📖
Mathieu Hays
Mathieu Hays

🌍
Yong Yin
Yong Yin

📖
Dale Sande / @anotheruiguy
Dale Sande / @anotheruiguy

📖 🚇 👀
Marco Biedermann
Marco Biedermann

🚇
Victor Coulon
Victor Coulon

🌍 👀
Paulo Ávila
Paulo Ávila

📖
Ekrem Karaca
Ekrem Karaca

🌍
Achal Varma
Achal Varma

📖
Aurelio De Rosa
Aurelio De Rosa

📖
Min Zhao
Min Zhao

🌍
Cătălin Mariș
Cătălin Mariș

📖 🌍
Simon Owen
Simon Owen

📖
Maxim Khlobystov
Maxim Khlobystov

📖 👀
Sara
Sara

📖 🌍
Jason Hummel
Jason Hummel

📖
Kunal Sachdeva
Kunal Sachdeva

📖
AJ Jordan
AJ Jordan

📖
paulalexandru
paulalexandru

📖 🌍
dot
dot

🚇 🌍
Everardo Medina
Everardo Medina

🌍
Gaurav Nanda
Gaurav Nanda

📖
Andrii Malaman
Andrii Malaman

📖
Daniele Zanni
Daniele Zanni

🌍
Fernando Freitas Alves
Fernando Freitas Alves

🌍
John Wu
John Wu

📖
Pablo Nevares
Pablo Nevares

📖 🌍
Felipe Ramos
Felipe Ramos

📖
Arthur Verschaeve
Arthur Verschaeve

📖 👀 🌍
Richard Denton
Richard Denton

📖
Andrey Fadeyev
Andrey Fadeyev

🌍
rimager
rimager

📖
Rishabh Jain
Rishabh Jain

📖
Kaijun Chen
Kaijun Chen

🌍
Nithya
Nithya

📖
Erwan Jegouzo
Erwan Jegouzo

📖
Tieme van Veen
Tieme van Veen

📖
Hsun
Hsun

🌍
Adrien CHRETIEN
Adrien CHRETIEN

🌍
Alan Rodríguez
Alan Rodríguez

🌍
Adam Haris
Adam Haris

🌍
Toshimaru
Toshimaru

🌍
Shankar Cabus
Shankar Cabus

🌍
Ash
Ash

🌍
Hank Wang
Hank Wang

🌍
KILLHAPPY.
KILLHAPPY.

📖
Marko Å valjek
Marko Å valjek

🌍
Antonio Laguna
Antonio Laguna

📖 🌍
Mithun Dhiman
Mithun Dhiman

🌍
Kévin Rocher / @Darklg
Kévin Rocher / @Darklg

🌍
Dmitry Pashkevich
Dmitry Pashkevich

🌍
karmeljuk
karmeljuk

🌍
Dirk Schürjohann
Dirk Schürjohann

🌍
Björn Söderqvist
Björn Söderqvist

🌍
Nitin Hayaran
Nitin Hayaran

📖
Peter Galiba
Peter Galiba

📖
Neil Heinrich
Neil Heinrich

📖
Ohgyun Ahn
Ohgyun Ahn

🌍
nerdog
nerdog

🌍
Leo Picado
Leo Picado

🌍
Romain Dardour
Romain Dardour

🌍
Alex Seville
Alex Seville

📖
胡尐睿丶
胡尐睿丶

🌍
Vitalii Petrychuk
Vitalii Petrychuk

🌍
Tairraos
Tairraos

📖 🌍
Dmitrii Raev
Dmitrii Raev

🌍
Bartek
Bartek

🌍
Vitor Balocco
Vitor Balocco

📖
Jonathan Neal
Jonathan Neal

📖
Christoffer Lans
Christoffer Lans

🌍
Felipe Fialho
Felipe Fialho

🌍
Piotrek Mierzejewski
Piotrek Mierzejewski

🌍
Patrik Wibron
Patrik Wibron

🌍
Dmitry Vislov
Dmitry Vislov

🌍
Krzysztof Romanowski
Krzysztof Romanowski

📖
Albert Yu
Albert Yu

🌍
Sebastian Lara Menares
Sebastian Lara Menares

🌍
sunnylost
sunnylost

🌍
Daniel Yang
Daniel Yang

📖
Michael P. Pfeiffer
Michael P. Pfeiffer

🌍
Tyll Weiß
Tyll Weiß

🌍
Andrei Sebastian Cîmpean
Andrei Sebastian Cîmpean

🌍
Denis Sokolov
Denis Sokolov

📖
Harijs Deksnis
Harijs Deksnis

🌍
Rob Larsen
Rob Larsen

🤔 📖 🚇 👀 💬 📢 🚧
Cezar Augusto
Cezar Augusto

🤔 🚇 👀 🚧
Vasiliy Vanchuk
Vasiliy Vanchuk

🤔 👀 🚧
Vy Nguyen
Vy Nguyen

🖋
Pedro Chaparro
Pedro Chaparro

🌍
Harshvardhan Singh Sisodia
Harshvardhan Singh Sisodia

🌍
Gabriel R. Barbosa
Gabriel R. Barbosa

🌍
Talha Tahir
Talha Tahir

🖋
Subash Chandra Sapkota
Subash Chandra Sapkota

💻
Sarah Brown
Sarah Brown

🖋
Christian Oliff
Christian Oliff

💻 🚇 🚧
Anders Søgaard
Anders Søgaard

🖋
Italo A.
Italo A.

💻
Carlos Valente
Carlos Valente

🌍
Jorge Baumann
Jorge Baumann

🌍
Satyam Sundaram
Satyam Sundaram

🖋
Akash Negi
Akash Negi

🖋
Ilyes Tounsi
Ilyes Tounsi

💻
Swati Tripathi
Swati Tripathi

🌍
Aziz Dafa Putra
Aziz Dafa Putra

🌍
Abg4real
Abg4real

🖋
Natalie Pina
Natalie Pina

🖋
Bruce Tang
Bruce Tang

🖋
Vlad Tansky
Vlad Tansky

💻 🎨
Vojtech Jasny
Vojtech Jasny

🖋
Linda Ikechukwu
Linda Ikechukwu

🖋
Hui-Yu Lee
Hui-Yu Lee

🌍
Andrew Jones
Andrew Jones

🖋
Teesta Koch
Teesta Koch

📖

License

Copyright (c) Contributors of the Front-end Developer Interview Questions