Frontend interview questions
JavaScript, TypeScript, React, CSS, browser performance and accessibility.
359 questions · 29 topics · 58 free answers
0 of 359 practised · 0 bookmarked · saved on this device
9 questions match
Frontend testing and tooling#1What is the difference between unit, integration and end-to-end tests in the frontend?EasyConceptFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#2How do you mock network requests in tests?MediumConceptFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#3Why do Playwright and Cypress tests become flaky and how do you reduce it?MediumConceptFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#4What is a snapshot test and what is its main risk?MediumConceptFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#5What do a bundler, a transpiler and a linter each do?MediumConceptFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#6What is tree shaking and what can prevent it?MediumConceptFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#7A visual redesign breaks half of your tests. How do you avoid that next time?MediumScenarioFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#8Design the front-end test strategy for a checkout flow.HardScenarioFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#9Write a Playwright test for login and a protected page.MediumHands-on taskFrontend testing and tooling Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
Hunting for a Frontend role too? See open Frontend jobs.