Quiz App

What is the difference between the CSS Flexbox properties justify-content and align-items, and which axis does each one affect in a flex container?

justify-content aligns flex items along the main axis.
align-items aligns flex items along the cross axis.

  • css
  • flexbox

What is the purpose of the <head> element in an HTML document?

The <head> element contains metadata about the webpage, such as the page title, links to CSS files, character encoding, and other information that is not displayed directly on the page.

  • html

What property controls the space between grid andf flexbox items?

gap (or row-gap and column-gap).

  • css
  • grid
  • flexbox

What CSS property turns an element into a grid container?

display: grid;

  • css
  • grid

What is the difference between the <div> and <span> elements in HTML?

  • <div> is a block-level element. It takes up the full width of the page and starts on a new line.
  • <span> is an inline element. It only takes up as much space as its content and stays in the same line.
  • html