frontend developerinterview questions.
see the job descriptionHow do you make a component accessible to keyboard and screen reader users?
Look for: Semantic HTML first, focus management, labels, and testing with real assistive tools.
A page feels slow. How do you find out why?
Look for: Measuring before fixing: profiling load and interaction, then targeting the biggest cost.
The design leaves out the empty, loading and error states. What do you do?
Look for: Raising it early, proposing states, and working with the designer rather than guessing.
When do you make something a reusable component, and when not?
Look for: Avoiding premature abstraction, and building for the uses that actually exist.
How do you handle an API call that can fail or be slow?
Look for: Loading and error states, retries where safe, and never leaving the user stuck.
Show me a piece of UI you are proud of. What details did you care about?
Look for: Attention to spacing, states, motion and edge cases users notice.