Front-End Development Course Flashcards
7 cards from real Front End Development practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Front-End Development Course flashcards as text
Which CSS property controls the stacking order of overlapping elements?
Answer: z-index
z-index determines which element appears on top when elements overlap, with higher values placed in front.
What does the CSS `box-sizing: border-box` rule do?
Answer: Includes padding and border in the element's total width and height
border-box makes width and height include padding and border, so the element never exceeds its declared size.
In JavaScript, what is the output of `typeof null`?
Answer: "object"
typeof null returns "object" due to a historical bug in JavaScript's type system that was never fixed for backward compatibility.
Which HTML element is used to define a self-contained piece of content that could be independently distributed?
Answer:
represents self-contained content like a blog post or news story that makes sense on its own.
What is the purpose of the CSS `::before` pseudo-element?
Answer: Inserts generated content before an element's actual content
::before inserts a generated content box as the first child of the selected element, commonly used with the `content` property.
Which HTTP status code indicates a successful GET request that returned content?
Answer: 200
200 OK is returned when the server successfully processed the request and is returning the requested content.
In CSS Flexbox, what does `justify-content: space-between` do?
Answer: Places equal space between items, with no space at the edges
space-between distributes items so the first is at the start, the last at the end, and equal space fills between the rest.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy