Convert Figma logo to code with AI

haizlin logofe-interview

前端面试每日 3+1,以面试题来驱动学习,提倡每日学习与思考,每天进步一点!每天早上5点纯手工发布面试题(死磕自己,愉悦大家),6000+道前端面试题全面覆盖,HTML/CSS/JavaScript/Vue/React/Nodejs/TypeScript/ECMAScritpt/Webpack/Jquery/小程序/软技能……

25,265
3,247
25,265
5,843

Top Related Projects

⚡️ Front End interview preparation materials for busy engineers

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

List of 1000 JavaScript Interview Questions

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

💯 Curated coding interview preparation materials for busy software engineers

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Quick Overview

The haizlin/fe-interview repository is a comprehensive collection of front-end interview questions and answers. It aims to help developers prepare for front-end job interviews by providing daily updates with new questions covering HTML, CSS, JavaScript, and other related topics.

Pros

  • Daily updates with new questions, ensuring fresh and relevant content
  • Covers a wide range of front-end topics, including HTML, CSS, JavaScript, and more
  • Large community of contributors and users, providing diverse perspectives and answers
  • Includes both basic and advanced questions, suitable for different skill levels

Cons

  • Some questions may be region-specific or outdated due to rapid changes in front-end technologies
  • Answers provided may not always be comprehensive or cover all possible solutions
  • The large volume of questions can be overwhelming for beginners
  • Lack of structured learning path or categorization of questions by difficulty level

Getting Started

To use this repository for interview preparation:

  1. Visit the GitHub repository: https://github.com/haizlin/fe-interview
  2. Star the repository to keep track of updates
  3. Browse through the daily questions in the issues section
  4. Try to answer the questions on your own before checking the provided answers
  5. Contribute your own answers or discuss with the community in the comments
  6. Consider forking the repository to keep your own notes and track your progress

Note: This is not a code library, so there are no code examples or installation instructions. The repository serves as a resource for interview preparation and learning.

Competitor Comparisons

⚡️ Front End interview preparation materials for busy engineers

Pros of front-end-interview-handbook

  • More comprehensive coverage of front-end topics
  • Well-structured content with detailed explanations
  • Available in multiple languages

Cons of front-end-interview-handbook

  • Less frequent updates compared to fe-interview
  • Fewer community contributions and discussions

Code Comparison

fe-interview:

function debounce(fn, delay) {
  let timer = null
  return function() {
    clearTimeout(timer)
    timer = setTimeout(() => {
      fn.apply(this, arguments)
    }, delay)
  }
}

front-end-interview-handbook:

function debounce(func, wait) {
  let timeout;
  return function executedFunction(...args) {
    const later = () => {
      clearTimeout(timeout);
      func(...args);
    };
    clearTimeout(timeout);
    timeout = setTimeout(later, wait);
  };
}

Both repositories provide valuable resources for front-end interview preparation. fe-interview offers daily updates and a more interactive community, while front-end-interview-handbook provides more in-depth explanations and broader language support. The code comparison shows similar implementations of a debounce function, with front-end-interview-handbook using more modern JavaScript syntax.

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

Pros of Front-end-Developer-Interview-Questions

  • More comprehensive coverage of various front-end topics
  • Well-organized structure with categorized questions
  • Multilingual support with translations in many languages

Cons of Front-end-Developer-Interview-Questions

  • Less frequent updates compared to fe-interview
  • Lacks daily question updates or a consistent learning schedule
  • Does not include answers to the questions, requiring additional research

Code Comparison

fe-interview provides code snippets with questions, while Front-end-Developer-Interview-Questions focuses on conceptual questions. Here's an example from fe-interview:

// fe-interview
const arr = [1, 2, 3, 4, 5];
const result = arr.reduce((acc, cur) => acc + cur, 0);
console.log(result); // Output: 15

Front-end-Developer-Interview-Questions typically doesn't include code snippets, but rather asks questions like:

What is the difference between `==` and `===`?
Explain how `this` works in JavaScript.
What is the difference between `null` and `undefined`?

Both repositories serve as valuable resources for front-end interview preparation, with fe-interview offering a more structured daily learning approach and code examples, while Front-end-Developer-Interview-Questions provides a comprehensive list of conceptual questions covering a wide range of topics.

List of 1000 JavaScript Interview Questions

Pros of javascript-interview-questions

  • More comprehensive coverage of JavaScript-specific topics
  • Well-organized with clear categories and subcategories
  • Includes code examples and explanations for most questions

Cons of javascript-interview-questions

  • Focuses solely on JavaScript, lacking broader front-end topics
  • Less frequent updates compared to fe-interview
  • May be overwhelming for beginners due to its extensive content

Code Comparison

fe-interview:

// Example question: How to implement a debounce function?
function debounce(fn, delay) {
  let timer = null
  return function() {
    clearTimeout(timer)
    timer = setTimeout(() => {
      fn.apply(this, arguments)
    }, delay)
  }
}

javascript-interview-questions:

// Example question: What is a closure in JavaScript?
function outer() {
  var b = 10;
  function inner() {
    var a = 20; 
    console.log(a + b);
  }
  return inner;
}

Both repositories provide valuable resources for front-end developers preparing for interviews. fe-interview offers a broader range of topics and daily updates, making it suitable for continuous learning. javascript-interview-questions provides in-depth coverage of JavaScript concepts with detailed explanations, making it an excellent resource for mastering JavaScript-specific interview questions.

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

Pros of javascript-questions

  • Focuses exclusively on JavaScript, providing in-depth coverage
  • Includes detailed explanations for each question and answer
  • Offers interactive elements, allowing users to test their knowledge

Cons of javascript-questions

  • Limited scope compared to fe-interview's broader front-end coverage
  • Less frequent updates and additions of new questions
  • Lacks daily question updates, which fe-interview provides

Code Comparison

fe-interview example:

function debounce(fn, delay) {
  let timer = null;
  return function() {
    clearTimeout(timer);
    timer = setTimeout(() => fn.apply(this, arguments), delay);
  }
}

javascript-questions example:

function Person(firstName, lastName) {
  this.firstName = firstName;
  this.lastName = lastName;
}

const lydia = new Person('Lydia', 'Hallie');
const sarah = Person('Sarah', 'Smith');

console.log(lydia);
console.log(sarah);

The fe-interview example demonstrates a practical implementation of a debounce function, while the javascript-questions example focuses on object creation and the new keyword, highlighting the different approaches and focus areas of each repository.

💯 Curated coding interview preparation materials for busy software engineers

Pros of tech-interview-handbook

  • More comprehensive, covering various aspects of technical interviews beyond just frontend
  • Well-structured with clear sections for different interview stages and topics
  • Includes algorithm and system design content, making it suitable for a wider range of roles

Cons of tech-interview-handbook

  • Less frequent updates compared to fe-interview
  • May be overwhelming for those specifically focused on frontend development
  • Lacks daily interview questions format found in fe-interview

Code Comparison

fe-interview:

// Daily question example
const question = "What is the difference between let and var in JavaScript?";
const answer = "let has block scope, while var has function scope.";

tech-interview-handbook:

// Algorithm example
function binarySearch(arr, target) {
  let left = 0, right = arr.length - 1;
  while (left <= right) {
    // ... implementation details
  }
}

Summary

fe-interview focuses on daily frontend questions, making it ideal for consistent practice in frontend development. tech-interview-handbook offers a broader range of topics and resources for various technical roles, but may not be as tailored for frontend-specific preparation. Both repositories have their merits, and the choice depends on the user's specific needs and career goals.

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Pros of javascript-algorithms

  • Comprehensive collection of algorithms and data structures implemented in JavaScript
  • Well-organized with detailed explanations and complexity analysis for each algorithm
  • Includes unit tests for each implementation, ensuring code quality and correctness

Cons of javascript-algorithms

  • Focuses solely on algorithms and data structures, lacking broader frontend interview topics
  • May be overwhelming for beginners due to its depth and complexity
  • Less frequent updates compared to fe-interview

Code Comparison

fe-interview example (HTML question):

<button disabled>Click me</button>

javascript-algorithms example (Binary Search implementation):

function binarySearch(array, target) {
  let left = 0;
  let right = array.length - 1;
  while (left <= right) {
    const mid = Math.floor((left + right) / 2);
    if (array[mid] === target) return mid;
    if (array[mid] < target) left = mid + 1;
    else right = mid - 1;
  }
  return -1;
}

Summary

fe-interview offers a broader range of frontend interview questions, including HTML, CSS, and JavaScript, with daily updates. It's more suitable for general frontend interview preparation. javascript-algorithms provides in-depth coverage of algorithms and data structures in JavaScript, making it ideal for those focusing on algorithmic problems or preparing for technical interviews at companies that emphasize these skills.

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

:smiley:【推荐】一个专业的羽毛球比赛系统【点点赛】

喜欢打羽毛球的,或者身边有喜欢打羽毛球的朋友,可以推荐给他们使用

点点赛

(使用微信扫一扫体验,即将开源)


官网 | 中文 | English

html css javascript skill Statr

勤思考 - 多动手 - 善总结 - 能坚持

:star: 这是一个涉及前端知识题库 **最多(6000+)、最全**,参与人数最多的免费开源公益项目!

:hash: 我也要出题

:bulb: 基础HTML 1200+CSS 1200+JS 1200+软技能 1200+
:newspaper: 专题Vue 296+React 338+AngularJsECMAScript 45+NodeJs 90+jQuery小程序
:hammer: 工具webpack 13+
:coffee: 汇总周历史题目

:clock430: 今天的知识点 (2024.09.09) —— 第1973天

        :one: [小程序] 使用uniapp实现一个生成奖状的功能,如何实现?

:camel: 历史题目

:baby_chick: 交流讨论

欢迎大家前来讨论,如果觉得对你的学习有一定的帮助,欢迎点个Star, 同时欢迎微信扫码关注 前端剑解 公众号,并加入 “前端学习每日3+1” 微信群相互交流(点击公众号的菜单:进群交流)。

:point_right: 点击查看 “卓越-九周年” 视频

:smiley: 寄语

  • 《论语》,曾子曰:“吾日三省吾身”(我每天多次反省自己)
  • 孔子曰:“不愤不启,不悱不发。举一隅不以三隅反,则不复也”
  • 前端面试每日3+1,以面试题来驱动学习,每天进步一点!
  • 学习不打烊,充电加油只为遇到更好的自己,365天无节假日,每天早上5点纯手工发布面试题(**死磕自己,愉悦大家**)。
  • 希望大家在这浮夸的前端圈里,保持冷静,坚持每天花20分钟来学习与思考。
  • 在这千变万化,类库层出不穷的前端,建议大家不要等到找工作时,才狂刷题,提倡每日学习!(不忘初心,html、css、javascript才是基石!)
  • 让努力成为一种习惯,让奋斗成为一种享受!
  • 相信 坚持 的力量!!!

:question: 如何学习

  • 不管题目懂与不懂都要先思考再百度,思考后一定要去写出来
  • 如果是原生js的题,不要依赖使用第三方库,如jquery等
  • 每天的题目都是独立的,不需要按顺序来,但建议每道题都去答下,有你会的和有你不会的,答了才知道
  • 不懂的题百度学习后,不要直接复制一大段过来,要用自己的话精简地总结概括出来

:palm_tree: 同步更新

:fire: 重大事件

:family: 友情链接

  • 【推荐】欢迎跟 jsliang 一起折腾前端,系统整理前端知识,目前正在折腾 LeetCode,打算打通算法与数据结构的任督二脉。GitHub 地址
  • 查看更多

:trophy: 感谢

  • 感谢所有为"前端面试每日3+1"做出贡献的朋友!,当然不仅仅只有这些贡献者,这里就不一一列举了,如果未添加到这个名单中,请与我联系。
  • 请在提交PR前先阅读贡献指南

:exclamation: 转载声明

近期,看到很多网络上的朋友滥用链接,滥用面试题,包装了下就收费了,让有需要的朋友找不到最新的试题,违背了我的初衷,特添加了些声明:

  • 声明
    1. 可以转载里面的所有面试题用到任何地方,但请添加仓库的地址,因为转载后你们很少会更新了,但此仓库每天都会准时更新。
    2. 此开源仓库从不收取任何费用,现在不会,以后也不会,也不会授权任何人/机构进行收费。
    3. 大家不需要对此仓库进行爬虫,如有需要什么格式的,可以私聊我,比如本地阅读的PDF,我有时间会做成PDF的,方便大家!

:copyright: License

MIT