fe-interview
前端面试每日 3+1,以面试题来驱动学习,提倡每日学习与思考,每天进步一点!每天早上5点纯手工发布面试题(死磕自己,愉悦大家),6000+道前端面试题全面覆盖,HTML/CSS/JavaScript/Vue/React/Nodejs/TypeScript/ECMAScritpt/Webpack/Jquery/小程序/软技能……
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:
- Visit the GitHub repository: https://github.com/haizlin/fe-interview
- Star the repository to keep track of updates
- Browse through the daily questions in the issues section
- Try to answer the questions on your own before checking the provided answers
- Contribute your own answers or discuss with the community in the comments
- 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 designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
:smiley:ãæ¨èãä¸ä¸ªä¸ä¸çç¾½æ¯çæ¯èµç³»ç»ãç¹ç¹èµã
å欢æç¾½æ¯ççï¼æè 身边æå欢æç¾½æ¯ççæåï¼å¯ä»¥æ¨èç»ä»ä»¬ä½¿ç¨
(使ç¨å¾®ä¿¡æ«ä¸æ«ä½éªï¼å³å°å¼æº)
å¤æè - å¤å¨æ - åæ»ç» - è½åæ
:star: è¿æ¯ä¸ä¸ªæ¶åå端ç¥è¯é¢åº **æå¤ï¼6000+ï¼ãæå ¨**ï¼åä¸äººæ°æå¤çå è´¹å¼æºå ¬ç项ç®ï¼
:hash: æä¹è¦åºé¢
:bulb: åºç¡ | HTML 1200+ | CSS 1200+ | JS 1200+ | 软æè½ 1200+ | |||
---|---|---|---|---|---|---|---|
:newspaper: ä¸é¢ | Vue 296+ | React 338+ | AngularJs | ECMAScript 45+ | NodeJs 90+ | jQuery | å°ç¨åº |
:hammer: å·¥å · | webpack 13+ | ||||||
:coffee: æ±æ» | å¨ | åå²é¢ç® |
:clock430: ä»å¤©çç¥è¯ç¹ (2024.09.09) ââ 第1973天
:one: [å°ç¨åº] 使ç¨uniappå®ç°ä¸ä¸ªçæå¥ç¶çåè½ï¼å¦ä½å®ç°ï¼
:camel: åå²é¢ç®
-
第1天 (2019.04.17)
:one: [html] 页é¢å¯¼å ¥æ ·å¼æ¶ï¼ä½¿ç¨linkå@importæä»ä¹åºå«ï¼
:two: [css] å£æ¯å¸å±ååé£ç¿¼å¸å±çç解ååºå«ï¼å¹¶ç¨ä»£ç å®ç°
:three: [js] ç¨éå½ç®æ³å®ç°ï¼æ°ç»é¿åº¦ä¸º5ä¸å ç´ çéæºæ°å¨2-32é´ä¸éå¤çå¼â¦â¦â¦â¦
-
第1972天 (2024.09.08)
:one: [html] jså¦ä½æ£æµç½å±ï¼æåªäºæ¹æ³ï¼
:baby_chick: 交æµè®¨è®º
欢è¿å¤§å®¶åæ¥è®¨è®ºï¼å¦æè§å¾å¯¹ä½ çå¦ä¹ æä¸å®ç帮å©ï¼æ¬¢è¿ç¹ä¸ªStar, åæ¶æ¬¢è¿å¾®ä¿¡æ«ç å ³æ³¨ å端å解 å ¬ä¼å·ï¼å¹¶å å ¥ âå端å¦ä¹ æ¯æ¥3+1â 微信群ç¸äºäº¤æµï¼ç¹å»å ¬ä¼å·çèåï¼è¿ç¾¤äº¤æµï¼ã
:point_right: ç¹å»æ¥ç âåè¶-ä¹å¨å¹´â è§é¢
:smiley: å¯è¯
- ã论è¯ãï¼æ¾åæ°ï¼âå¾æ¥ä¸çå¾èº«âï¼ææ¯å¤©å¤æ¬¡åçèªå·±ï¼
- ååæ°ï¼âä¸æ¤ä¸å¯ï¼ä¸æ±ä¸åã举ä¸é ä¸ä»¥ä¸é åï¼åä¸å¤ä¹â
- å端é¢è¯æ¯æ¥3+1ï¼ä»¥é¢è¯é¢æ¥é©±å¨å¦ä¹ ï¼æ¯å¤©è¿æ¥ä¸ç¹ï¼
- å¦ä¹ ä¸æçï¼å çµå æ²¹åªä¸ºéå°æ´å¥½çèªå·±ï¼365天æ èåæ¥ï¼æ¯å¤©æ©ä¸5ç¹çº¯æå·¥åå¸é¢è¯é¢ï¼**æ»ç£èªå·±ï¼ææ¦å¤§å®¶**ï¼ã
- å¸æ大家å¨è¿æµ®å¤¸çå端åéï¼ä¿æå·éï¼åææ¯å¤©è±20åéæ¥å¦ä¹ ä¸æèã
- å¨è¿ååä¸åï¼ç±»åºå±åºä¸ç©·çå端ï¼å»ºè®®å¤§å®¶ä¸è¦çå°æ¾å·¥ä½æ¶ï¼æçå·é¢ï¼æå¡æ¯æ¥å¦ä¹ ï¼ï¼ä¸å¿åå¿ï¼htmlãcssãjavascriptææ¯åºç³ï¼ï¼
- 让åªåæ为ä¸ç§ä¹ æ¯ï¼è®©å¥ææ为ä¸ç§äº«åï¼
- ç¸ä¿¡ åæ çåéï¼ï¼ï¼
:question: å¦ä½å¦ä¹
- ä¸ç®¡é¢ç®æä¸ä¸æé½è¦å æèåç¾åº¦ï¼æèåä¸å®è¦å»ååºæ¥
- å¦ææ¯åçjsçé¢ï¼ä¸è¦ä¾èµä½¿ç¨ç¬¬ä¸æ¹åºï¼å¦jqueryç
- æ¯å¤©çé¢ç®é½æ¯ç¬ç«çï¼ä¸éè¦æ顺åºæ¥ï¼ä½å»ºè®®æ¯éé¢é½å»çä¸ï¼æä½ ä¼çåæä½ ä¸ä¼çï¼çäºæç¥é
- ä¸æçé¢ç¾åº¦å¦ä¹ åï¼ä¸è¦ç´æ¥å¤å¶ä¸å¤§æ®µè¿æ¥ï¼è¦ç¨èªå·±çè¯ç²¾ç®å°æ»ç»æ¦æ¬åºæ¥
:palm_tree: åæ¥æ´æ°
- å端åæ-CSDN | æéä¸æ | ç¥ä¹ä¸æ | Github | Gitee | ç®ä¹¦ä¸æ | segmentfaultä¸æ | æ°æµªå¾®å | å¼åè 头æ¡ä¸æ | çäº | å端å解(æ«ç å ³æ³¨)
:fire: é大äºä»¶
:family: åæ é¾æ¥
- ãæ¨èã欢è¿è· jsliang ä¸èµ·æè ¾å端ï¼ç³»ç»æ´çå端ç¥è¯ï¼ç®åæ£å¨æè ¾ LeetCodeï¼æç®æéç®æ³ä¸æ°æ®ç»æçä»»ç£äºèãGitHub å°å
- æ¥çæ´å¤
:trophy: æè°¢
- æè°¢ææ为"å端é¢è¯æ¯æ¥3+1"ååºè´¡ç®çæåï¼ï¼å½ç¶ä¸ä» ä» åªæè¿äºè´¡ç®è ï¼è¿éå°±ä¸ä¸ä¸å举äºï¼å¦ææªæ·»å å°è¿ä¸ªååä¸ï¼è¯·ä¸æèç³»ã
- 请å¨æ交PRåå é 读贡ç®æå
:exclamation: 转载声æ
è¿æï¼çå°å¾å¤ç½ç»ä¸çæå滥ç¨é¾æ¥ï¼æ»¥ç¨é¢è¯é¢ï¼å è£ äºä¸å°±æ¶è´¹äºï¼è®©æéè¦çæåæ¾ä¸å°ææ°çè¯é¢ï¼è¿èäºæçåè¡·ï¼ç¹æ·»å äºäºå£°æï¼
- 声æ
- å¯ä»¥è½¬è½½éé¢çææé¢è¯é¢ç¨å°ä»»ä½å°æ¹ï¼ä½è¯·æ·»å ä»åºçå°åï¼å 为转载åä½ ä»¬å¾å°ä¼æ´æ°äºï¼ä½æ¤ä»åºæ¯å¤©é½ä¼åæ¶æ´æ°ã
- æ¤å¼æºä»åºä»ä¸æ¶åä»»ä½è´¹ç¨ï¼ç°å¨ä¸ä¼ï¼ä»¥åä¹ä¸ä¼ï¼ä¹ä¸ä¼ææä»»ä½äºº/æºæè¿è¡æ¶è´¹ã
- 大家ä¸éè¦å¯¹æ¤ä»åºè¿è¡ç¬è«ï¼å¦æéè¦ä»ä¹æ ¼å¼çï¼å¯ä»¥ç§èæï¼æ¯å¦æ¬å°é 读çPDFï¼æææ¶é´ä¼åæPDFçï¼æ¹ä¾¿å¤§å®¶ï¼
:copyright: License
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
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot