Quiz de HTML & CSS: CSS Grid

This CSS quiz checks how CSS Grid sizes and places things. You will compute track sizes from fr units and gaps, count lines for grid-column, compare auto-fill with auto-fit, and work with named areas.

Media 10 preguntas ~6 minutos Se aprueba con 80%

Elige un modo

Juegas como invitado: inicia sesión para guardar tu XP y tu racha.

Pregunta de ejemplo

Pregunta 1 de 10

The grid is 600px wide. How wide are the two columns?

.grid {
  display: grid;
  width: 600px;
  grid-template-columns: 1fr 2fr;
}
Ver la respuesta

B. 200px and 400px fr shares the free space in proportion: 3 fractions in total, so 1fr = 200px and 2fr = 400px.

Qué cubre este quiz

  • fr units, fixed tracks and gap
  • Placing items with line numbers, span and -1
  • repeat(), minmax(), auto-fill and auto-fit
  • Implicit rows and grid-template-areas
  • Why 1fr can overflow and minmax(0, 1fr) fixes it

Preguntas frecuentes

¿Necesito una cuenta?

No. Cualquiera puede jugar. Inicia sesión para guardar tu XP, racha, insignias e historial.

¿Puedo repetirlo?

Sí. Se guarda tu mejor puntuación, y las preguntas y respuestas se mezclan cada vez.