Interview Questions for Web Development
HTML
Q. Describe HTML?
Q. Write the basic structure of the HTML template?
Q. Name some new features which were not present in HTML but are added to HTML5?
Q. What is an Anchor tag and how can you open an URL into a new tab when clicked?
Q. Define Semantic elements in HTML?
Q. Define attributes in HTML tag?
Q. What are inline elements and block-level elements in HTML?
Q. How can we create a hyperlink in HTML?
Q. Why Meta tags are used in HTML?
Q. Explain list elements in HTML?
Q. define iframe in HTML?
Q. What is the SVG element?
Q. Explain about Canvas?
Q. What is Quirks mode in HTML5?
CSS
Q. Why was CSS developed?
Q. What are the major versions of CSS?
Q. What are the different ways you could integrate CSS into your HTML page?
Q. What is the meaning of cascading? How do style sheets cascade?
Q. What are the advantages and disadvantages of using CSS?
Q. Name a few prominent CSS frameworks?
Q. What are the ways to assign a certain color to an element in css?
Q. Explain the CSS Box Model and its different elements?
Q. What is the z-index in CSS?
Q. Mention q few benefits of using CSS Sprites?
Q. What are pseudo-elements in CSS?
Q. What are the different media types allowed by CSS?
Q. What are the different units used in CSS?
Q. How do you control image repetition using CSS?
JAVASCRIPT
Q. What is JavaScript and What is EcmaScript?
Q. What is the DOM and DOM Manipulation?
Q. What does the ?: mean?
Q. What is the difference between undefined and null?
Q. What is an Event Handling?
Q. What is Hoisting, Scope, and Closure?
Q. What is the difference between and
Q. What is Template Literal?
Q. What is this keyword in Javascript?
Q. What is HOF (Higher Order Function)?
Q. What is an arrow function?
Q. What is Object Destructing?
Q. What are Promises?
Q. What is the difference between sync and async function?
Q. What is AJAX, NaN, a new keyword, the falsy value in Javascript?
Q. How many ways can a function be invoked?
PHP
Q. What are the common uses of PHP?
Q. What is PEAR in PHP?
Q. Name a few prominent PHP frameworks?
Q. What is the difference between static and dynamic websites?
Q. What is the meaning of 'escaping to PHP'?
Q. Is PHP a case-sensitive language?
Q. What are the characteristics of PHP variables?
Q. What are the rules for naming a PHP variable?
Q. What is the meaning of a final class and a final method?
Q. How can PHP and HTML interact?
Q. What are the data types in PHP?
Q. What are constructors and destructors in PHP?
Q. What are include() and require() functions?
Q. What are the different types of errors available in Php?
Q. What are the different types of Array in PHP?
Q. What is the difference between "echo" and "print" in PHP?
Q. What is the main difference between asp net and PHP?
Q. What's the difference between undefined and null?
Q. What does the && operator do?
Q. What does the II operator do?
Q. Is using the + or unary plus operator the fastest way in converting a string to a number?
Q. What is the DOM?
Q. What is Event Propagation?
Q. What's Event Bubbling?
Q. What's Event Capturing?
Q. What's the difference between event.preventDefauIt()
and event.stopPropagation() methods?
Q. How to know if the event.preventDefauIt() method
was used in an element?
Q. Why does this code obj.someprop.x throw an error?
Q. What is event.target ?
Q. What is event.currentTarget?
Q. What's the difference between and
Q. Why does it return false when comparing two similar objects in JavaScript?
Q. What does the !! operator do?
Q. How to evaluate multiple expressions in one line?
Q. What is Hoisting?
Q. What is Scope?
Q. What are Closures?
Q. What is Functional Programming and what are the features of JavaScript that make it a candidate as a functional language?
Q. What are Higher Order Functions?
Q. Why are functions called First-class Objects?
Q. Implement the Array.prototype.map method by hand.
Q. Implement the Array.prototype.filter method by hand.
Q. Implement the Array.prototype.reduce method by hand.
Q. What is the argument object?
Q. How to create an object without a prototype?
Q. Why does b in this code become a global variable when you call this function?
Q. What is ECMAScript?
Q. What are the new features in ES6 or ECMAScript 2015?
Q. What's the difference between var, let, and const keywords?
Q. What are Arrow Functions?
Q. What are Classes?
Q. What are Template Literals?
Q. What is Object restructuring?
Q. What are ES6 Modules?
Q. What is the Set object and how does it work?
Q. What is a Callback function?
Q. What are Promises?
Q. What is async/await and How does it work?
Q. What's the difference between the Spread operator and the Rest operator?
Q. What are Default Parameters?
Q. What are Wrapper Objects?
Q. What is the difference between Implicit and Explicit Coercion?
Q. What is NaN? and How to check if a value is NaN?
Q. How to check if a value is an Array?
Q. How to check if a number is even without using the % or modulo operator?
Q. How to check if a certain property exists in an object?
Q. What is AJAX?
Q. What are the ways of making objects in JavaScript?
Q. What's the difference between Object.seal and Object.freeze methods?
Q. What's the difference between the in operator and the hasOwnProperty method in objects?
Q. What are the ways to deal with Asynchronous Code in JavasScript?
Q. What's the difference between a function expression and function declaration?
Q. How many ways can a function be invoked?
Q. What is memorization and what's the use it?
Q. Implement a memoization helper function.
Q. Why does typeof null return object? How to check if a value is null?
Q. What does the new keyword do?
REACT
Q. Explain React in simple terms?
Q. Compare real DOM and virtual DOM?
Q. List some features of React?
Q. What is React JSX?
Q. Can browsers read JSX?
Q. Explain the working of virtual DOM?
Q. Differentiate between React and Angular?
Q. "Everything is a component in React." Do you agree?
Q. What is the purpose of render() in React?
Q. What are the state and props in React?
Q. What are the phases in the lifecycle of a React component?
Q. How are refs used in React?
Q. Controlled vs. Uncontrolled components?
Q. Explain events in React?
Q. What is Redux? What are its components?
Q. What is the significance of Reducers?
Q. What is a React Router?