Frontend Interview Questions
51 questions across HTML, CSS, JavaScript, DOM and Practice
This page contains a collection of questions commonly asked in technical interviews for Junior/Middle Front-end Developer positions. The playlist will be valuable not only for candidates, as it offers a quick way to prepare for interviews by reviewing essential topics, but also for technical specialists conducting interviews.
Over time, this list will continue to grow, with new questions and topics added to ensure it remains relevant and covers the latest trends in front-end development.
Support the projectBuy Me a Coffee
Jump to section
HTML
1401What is doctype, and what is it used for?02Describe the basic structure of an HTML page.03What is semantics, and which semantic tags do you know?04What is the difference between the <strong>/<em> and <b>/<i> tags?05What is validation? What types of HTML document validation do you know?06Which tag should be used to create a button?07What is inline styling? Can it be overridden?08Do HTML elements have their own default styles?09Which tag uses the alt attribute, and what is it for?10What are the types of lists in HTML?11How to semantically structure an image with a caption?12What is HTML, and what is it used for?13Input Types in HTML14What is the Canvas element, and what is it used for?
CSS
1401What is CSS, and what is it used for?02Ways to add CSS styles to a page?03Types of positioning in CSS?04CSS Box Model?05What is a selector? What types of selectors exist?06What is selector specificity? How is the specificity weight calculated?07What is the difference between Reset.css and Normalize.css?08What is the difference between margin and padding?09What is the difference between display: none and visibility: hidden?10What is the difference between block and inline elements?11What is the difference between adaptive and responsive design12What is a CSS rule13The Difference Between Class and ID in CSS14What is a CSS Sprite and what is it used for?
JavaScript
1501Data types in JavaScript?02Difference between == and ===?03Strict mode in JavaScript?04Difference between function declaration and function expression?05What is the difference between null and undefined?06What is hoisting?07What are the "AND" and "OR" operators (&& and ||)?08What types of timers are there in JavaScript?09What is scope?10What is the difference between "let," "const," and "var"?11What are higher-order functions?12How do we convert any data type to a boolean, and what values are considered falsy in JavaScript?13String Methods in JavaScript14Array Methods in JavaScript15The Difference Between preventDefault and stopPropagation in JavaScript