Skip to content

Instantly share code, notes, and snippets.

@Bertrand
Forked from nicolas-cherel/front-end questions.md
Last active June 12, 2023 14:54
Show Gist options
  • Save Bertrand/f0c89e63b1dc71efd7a0d792409f3b36 to your computer and use it in GitHub Desktop.
Save Bertrand/f0c89e63b1dc71efd7a0d792409f3b36 to your computer and use it in GitHub Desktop.

CSS

  • What is CSS selector specificity and how does it work?
  • What's the difference between a relative, fixed, absolute and statically positioned element?
  • Can you explain the difference between px, em and rem as they relate to font sizing?

JS Questions

  • What's the difference between a variable that is: null, undefined?
  • What is the difference between == and ===?
  • What happens if you add async to a function declaration?

JS / DOM

  • Describe event bubbling.

React

  • What is the state in a React component?
  • What are props in a React component?
  • What is the children prop in a React component?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment