0% found this document useful (0 votes)
6 views

Interview Questions

The document contains a series of questions across four main topics: HTML, CSS, JavaScript, and React, covering fundamental concepts and differences in each area. Additionally, it includes steps for setting up a React project using Vite and implementing a design. The questions aim to assess knowledge on semantic tags, CSS box model, JavaScript functions, and React hooks, among others.

Uploaded by

murugan28aug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Interview Questions

The document contains a series of questions across four main topics: HTML, CSS, JavaScript, and React, covering fundamental concepts and differences in each area. Additionally, it includes steps for setting up a React project using Vite and implementing a design. The questions aim to assess knowledge on semantic tags, CSS box model, JavaScript functions, and React hooks, among others.

Uploaded by

murugan28aug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML Questions:

1. List some semantic tags.


2. What is the purpose of the <meta> tag?
3. Explain the concept of self-closing tags.
4. What is the difference between <div> and <span> (inline, block)?
5. How do you open a hyperlink in a new tab?
6. Explain the concept of accessibility in HTML.

CSS Questions:

1. What is the box model in CSS?


2. Explain the difference between relative and absolute and fixed positioning.
3. What is the purpose of the @media query?
4. What is the difference between inline, internal, and external CSS?
5. List some CSS properties used for layout.
6. What is the difference between padding and margin?

JavaScript Questions:

1. What is the difference between == and === in JavaScript?


2. Explain the concept of hoisting in JavaScript.
3. What is the difference between var, let, and const?
4. What is the difference between call, apply, and bind methods?
5. List some built-in JavaScript functions for an array.
6. Explain the concept of prototypes in JavaScript.
7. Explain Event Loop in short.

React Questions:

1. What is React and what problem does it solve?


2. Explain the concept of one-way data flow in React and how you can do the reverse?
3. What is JSX and how does it relate to JavaScript?
4. List some common React hooks.
5. What is the difference between state and props in React?
6. Explain the concept of component lifecycle methods in React.
7. What is the purpose of the useState hook in React?
8. Controlled vs Un-Controlled components in React.
Live coding:

Steps:

1. Setup React using vite


2. Implement the below design.

You might also like