Challenge: Grid Layout Mastery
Task
Complete the HTML structure by adding the missing Tailwind CSS classes to meet the layout requirements.
- Grid container: Define a grid with three columns and a gap of 1rem (16px) between items;
- First item: Span across two columns;
- Second item: Span across one column;
- Third item: Span across all three columns.
index.html
- For the grid container, use
grid grid-cols-3 gap-4
; - For the first item, use
col-span-2
; - For the second item, use
col-span-1
; - For the third item, use
col-span-3
.
index.html
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 6
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Stel mij vragen over dit onderwerp
Vat dit hoofdstuk samen
Toon voorbeelden uit de praktijk
Awesome!
Completion rate improved to 3.57
Challenge: Grid Layout Mastery
Veeg om het menu te tonen
Task
Complete the HTML structure by adding the missing Tailwind CSS classes to meet the layout requirements.
- Grid container: Define a grid with three columns and a gap of 1rem (16px) between items;
- First item: Span across two columns;
- Second item: Span across one column;
- Third item: Span across all three columns.
index.html
- For the grid container, use
grid grid-cols-3 gap-4
; - For the first item, use
col-span-2
; - For the second item, use
col-span-1
; - For the third item, use
col-span-3
.
index.html
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 6