Skip to content

Instantly share code, notes, and snippets.

@mag002
Last active March 23, 2024 11:39
Show Gist options
  • Save mag002/9aa893fad0f97e0e69120c69077f1786 to your computer and use it in GitHub Desktop.
Save mag002/9aa893fad0f97e0e69120c69077f1786 to your computer and use it in GitHub Desktop.
Front-end Fresher/Junior/Middle Interview (with ReactJS)
#fe-fresher-interview (50%)
#fe-junior-interview (40%)
#fe-middle-interview (10%)
@mag002
Copy link
Author

mag002 commented Aug 6, 2021

HTML

  • <!DOCTYPE> tag?
  • Name all the Semantic HTML tags
  • What is the difference between <script defer src=”...”> and <script async src=”...”>

@mag002
Copy link
Author

mag002 commented Aug 6, 2021

CSS

  • How many ways to apply CSS to HTML?
  • Flex and Grid, Which one? Why and When?
  • What is CSS preprocessor? Name all the CSS preprocessors you know?
  • What is BEM?
  • Name all the CSS libraries/frameworks you know?
  • What is Atomic CSS?
  • Name all the CSS combinators you know.
  • Create Element below with CSS
    image_2021_08_05T10_07_50_179Z

@mag002
Copy link
Author

mag002 commented Aug 6, 2021

JS

  • var/let?
  • Pass by reference?
  • What is Scope?
  • How many ways to add an event?
  • Event Capturing and Event Bubbling?
  • What is Callback Hell? How to solve it?
  • Event loop?
  • console.log(this) <= What is this?
  • Algorithm:
const testcases = [
  {
    input: "aa",
    output: "Empty String",
  },
  {
    input: "abba",
    output: "Empty String",
  },
  {
    input: "cabba",
    output: "c",
  },
  {
    input: "cabbbbac",
    output: "Empty String",
  },
]

@mag002
Copy link
Author

mag002 commented Aug 6, 2021

ReactJS

  • What is ReactJS and why do you use it?
  • What is JSX?
  • What is Virtual DOM?
  • Prop? State?
  • Difference between Class component and Function Component?
  • What is Lifecycle?
  • Form Handling.
  • Name all the React Hooks you know
  • What is Redux and when do you use it?
  • Redux middleware?
  • Typescript?
  • Make a FilterComponent for Table:
    image
    INPUT:
    image image
    OUTPUT:
    image

@mag002
Copy link
Author

mag002 commented Aug 6, 2021

HTML, CSS Excercise

  • Estimate and make the template below: (HTML, CSS)
    image
  • Estimate and create the component below: (HTMl, CSS, JS)
    image

@mag002
Copy link
Author

mag002 commented Aug 6, 2021

Order Stuffs

  • Git flow?
  • Design? (Figma, AdobeXD, Sketch…)
  • Mock API?
  • webpack
  • NodeJS, npm, RESTfulsAPI...
  • JWT?
  • Unit Test?
  • Postman, swagger, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment