HTML CSS and JavaScript for Beginners - A Web Design Course - Exercise #4: Image Grid

HTML CSS and JavaScript for Beginners - A Web Design Course - Exercise #4: Image Grid

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial presents a challenge to create an image grid using HTML and CSS. The task involves arranging images in a 3x3 grid and ensuring they remain aligned regardless of screen size. The instructor provides hints and explains the solution, focusing on setting image widths and using CSS properties like float and margins to achieve the desired layout. The tutorial encourages experimentation with different properties to understand their effects, aiming to reinforce concepts covered in earlier lessons.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main task in the image grid challenge?

To create a slideshow of images

To add captions to images

To arrange images in a grid with three per row and column

To change the color of images

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What percentage width is suggested to ensure images take up a consistent portion of the space?

40%

50%

30%

25%

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why might using 33.33% width for images cause alignment issues?

It exceeds the available space

It causes images to overlap

It doesn't add up to 100% due to rounding

It is too small for the images

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What CSS property is used to align images to the left?

position

align

float

display

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create spacing between images in the grid?

By using background

By using border

By using margin

By using padding