Front End Questions
\
[โ] FRONT END INTERVIEW QUESTIONS
\
โ GENERAL:
\
[โ] What did you learn yesterday/this week?
\
[โ] What excites or interests you about coding?
\
[โ] What is a recent technical challenge you experienced and how did you solve it?
\
\
[โ] Can you describe some SEO best practices or techniques you have used lately?
\
[โ] Can you explain any common techniques or recent issues solved in regards to front-end security?
\
[โ] What actions have you personally taken on recent projects to increase maintainability of your code?
\
[โ] Talk about your preferred development environment.
\
[โ] Which version control systems are you familiar with?
\
[โ] Can you describe your workflow when you create a web page?
\
[โ] If you have 5 different stylesheets, how would you best integrate them into the site?
\
[โ] Can you describe the difference between progressive enhancement and graceful degradation?
\
[โ] How would you optimize a websiteโs assets/resources?
\
[โ] How many resources will a browser download from a given domain at a time?
\
[โ] What are the exceptions?
\
[โ] Name 3 ways to decrease page load (perceived or actual load time).
\
[โ] If you jumped on a project and they used tabs and you used spaces, what would you do?
\
[โ] Describe how you would create a simple slideshow page.
\
[โ] If you could master one technology this year, what would it be?
\
[โ] Explain the importance of standards and standards bodies.
\
[โ] What is Flash of Unstyled Content? How do you avoid FOUC?
\
[โ] Explain what ARIA and screenreaders are, and how to make a website accessible.
\
[โ] Explain some of the pros and cons for CSS animations versus JavaScript animations.
\
[โ] What does CORS stand for and what issue does it address?
\
[โ] How did you handle a disagreement with your boss or your collaborator?
\
[โ] What resources do you use to learn about the latest in front end development and design?
\
[โ] What skills are needed to be a good front-end developer?
\
[โ] What role do you see yourself?
\
[โ] Explain the difference between cookies, session storage, and local storage?
\
โ HTML:
\
[โ] What does a doctype do?
\
[โ] How do you serve a page with content in multiple languages?
\
[โ] What kind of things must you be wary of when designing or developing for multilingual sites?
\
[โ] What are data- attributes good for?
\
[โ] Consider HTML5 as an open web platform. What are the building blocks of HTML5?
\
[โ] Describe the difference between a cookie, sessionStorage and localStorage.
\
[โ] Describe the difference between, and .
\
\
[โ] What is progressive rendering?
\
\
[โ] Have you used different HTML templating languages before?
\
[โ] What is the difference between canvas and svg?
\
โ CSS:
\
[โ] What is CSS selector specificity and how does it work?
\
[โ] Whatโs the difference between โresettingโ and โnormalizingโ CSS? Which would you choose, and why?
\
[โ] Describe Floats and how they work.
\
[โ] Describe z-index and how stacking context is formed.
\
[โ] Describe BFC (Block Formatting Context) and how it works.
\
[โ] What are the various clearing techniques and which is appropriate for what context?
\
[โ] How would you approach fixing browser-specific styling issues?
\
[โ] How do you serve your pages for feature-constrained browsers?
\
[โ] What techniques/processes do you use?
\
[โ] What are the different ways to visually hide content (and make it available only for screen readers)?
\
[โ] Have you ever used a grid system, and if so, what do you prefer?
\
[โ] Have you used or implemented media queries or mobile specific layouts/CSS?
\
[โ] Are you familiar with styling SVG?
\
[โ] Can you give an example of an @media property other than screen?
\
[โ] What are some of the โgotchasโ for writing efficient CSS?
\
[โ] What are the advantages/disadvantages of using CSS preprocessors?
\
[โ] Describe what you like and dislike about the CSS preprocessors you have used.
\
[โ] How would you implement a web design comp that uses non-standard fonts?
\
[โ] Explain how a browser determines what elements match a CSS selector.
\
[โ] Describe pseudo-elements and discuss what they are used for.
\
\
[โ] What does * { box-sizing: border-box; } do? What are its advantages?
\
[โ] What is the CSS display property and can you give a few examples of its use?
\
[โ] Whatโs the difference between inline and inline-block?
\
[โ] Whatโs the difference between the โnth-of-type()โ and โnth-child()โ selectors?
\
[โ] Whatโs the difference between a relative, fixed, absolute and statically positioned element?
\
[โ] What existing CSS frameworks have you used locally, or in production? How would you change/improve them?
\
[โ] Have you used CSS Grid?
\
[โ] Can you explain the difference between coding a web site to be responsive versus using a mobile-first strategy?
\
[โ] Have you ever worked with retina graphics? If so, when and what techniques did you use?
\
[โ] Is there any reason youโd want to use translate() instead of absolute positioning, or vice-versa? And why?
\
[โ] How is clearfix css property useful?
\
[โ] Can you explain the difference between px, em and rem as they relate to font sizing?
\
[โ] Can you give an example of a pseudo class? Can you provide an example use case for a pseudo class?
\
\
โ JAVASCRIPT:
\
[โ] Explain event delegation.
\
[โ] Explain how this works in JavaScript.
\
[โ] Can you give an example of one of the ways that working with this has changed in ES6?
\
[โ] Explain how prototypal inheritance works.
\
[โ] Whatโs the difference between a variable that is: null, undefined or undeclared?
\
[โ] How would you go about checking for any of these states?
\
[โ] What is a closure, and how/why would you use one?
\
[โ] What language constructions do you use for iterating over object properties and array items?
\
\
[โ] Whatโs a typical use case for anonymous functions?
\
[โ] Whatโs the difference between host objects and native objects?
\
[โ] Explain the difference between: function Person(){}, var person = Person(), and var person = new Person()?
\
[โ] Explain the differences on the usage of foo between function foo() {} and var foo = function() {}
\
[โ] Can you explain what Function.call and Function.apply do? Whatโs the notable difference between the two?
\
[โ] Explain Function.prototype.bind.
\
[โ] Whatโs the difference between feature detection, feature inference, and using the UA string?
\
[โ] Explain โhoistingโ.
\
[โ] Describe event bubbling.
\
[โ] Describe event capturing.
\
[โ] Whatโs the difference between an โattributeโ and a โpropertyโ?
\
[โ] What are the pros and cons of extending built-in JavaScript objects?
\
[โ] What is the difference between == and ===?
\
[โ] Explain the same-origin policy with regards to JavaScript.
\
[โ] Why is it called a Ternary operator, what does the word โTernaryโ indicate?
\
[โ] What is strict mode? What are some of the advantages/disadvantages of using it?
\
[โ] What are some of the advantages/disadvantages of writing JavaScript code in a language that compiles to JavaScript?
\
[โ] What tools and techniques do you use debugging JavaScript code?
\
[โ] Explain the difference between mutable and immutable objects.
\
[โ] What is an example of an immutable object in JavaScript?
\
[โ] What are the pros and cons of immutability?
\
[โ] How can you achieve immutability in your own code?
\
[โ] Explain the difference between synchronous and asynchronous functions.
\
[โ] What is event loop?
\
[โ] What is the difference between call stack and task queue?
\
[โ] What are the differences between variables created using let, var or const?
\
[โ] What are the differences between ES6 class and ES5 function constructors?
\
[โ] Can you offer a use case for the new arrow => function syntax? How does this new syntax differ from other functions?
\
[โ] What advantage is there for using the arrow syntax for a method in a constructor?
\
[โ] What is the definition of a higher-order function?
\
[โ] Can you give an example for destructuring an object or an array?
\
[โ] Can you give an example of generating a string with ES6 Template Literals?
\
[โ] Can you give an example of a curry function and why this syntax offers an advantage?
\
[โ] What are the benefits of using spread syntax and how is it different from rest syntax?
\
[โ] How can you share code between files?
\
[โ] Why you might want to create static class members?
\
[โ] What is the difference between while and do-while loops in JavaScript?
\
[โ] What is a promise? Where and how would you use promise?
\
โ TESTING:
\
[โ] What are some advantages/disadvantages to testing your code?
\
[โ] What tools would you use to test your codeโs functionality?
\
[โ] What is the difference between a unit test and a functional/integration test?
\
[โ] What is the purpose of a code style linting tool?
\
[โ] What are some of the testing best practices?
\
โ PERFORMANCE:
\
[โ] What tools would you use to find a performance bug in your code?
\
[โ] What are some ways you may improve your websiteโs scrolling performance?
\
[โ] Explain the difference between layout, painting and compositing.
\
โ MISC:
\
[โ] Whatโs a cool project that youโve recently worked on?
\
[โ] What are some things you like about the developer tools you use?
\
[โ] Who inspires you in the front-end community?
\
[โ] Do you have any pet projects? What kind?
\
[โ] Whatโs your favorite feature of Internet Explorer?
Last updated