Question Bank
1899 approved questions from the community
What is a CSS sprite?
The will-change property tells the browser to optimize for properties that will change.
What is the difference between adjacent sibling (+) and general sibling (~) combinators?
CSS Grid's fr unit represents a fraction of the available space.
The aspect-ratio property in CSS can maintain an element's width-to-height ratio.
What is the purpose of the @supports rule in CSS?
The gap property can be used in both Flexbox and Grid layouts.
What is the purpose of the clip-path property?
What is the purpose of the min() function in CSS?
The inherit keyword makes a property inherit its value from the parent element.
The initial keyword sets a CSS property to its default value as defined in the CSS specification.
What is the purpose of the @font-face rule?
What is the purpose of the content-visibility property?
The @media only screen keyword is used to hide style sheets from older user agents.
In TDD (Test-Driven Development), tests are written after the implementation code.
What is Inversion of Control (IoC)?
What does the Law of Demeter (Principle of Least Knowledge) state?
How does the Data-Mapper pattern differ from Active-Record?
Which statement best describes the relationship between composition and inheritance in OOP?
What is Dependency Hell?