Modern HTML and CSS from the Beginning (Including Sass) - Vh & Vw Units

Modern HTML and CSS from the Beginning (Including Sass) - Vh & Vw Units

Assessment

Interactive Video

Created by

Quizizz Content

Information Technology (IT), Architecture

University

Hard

The video tutorial introduces viewport units VH and VW in CSS, explaining how they represent viewport height and width. It demonstrates creating a landing page using these units, emphasizing the use of VH for vertical spacing. The tutorial covers styling elements with CSS, including background images and text alignment. It also introduces Flexbox for centering content and media queries for responsive design, ensuring the layout adapts to different screen sizes.

Read more

10 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What are viewport height (VH) and viewport width (VW) units used for in web design?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the concept of 'slices' relate to viewport heights?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe how to create a simple landing page using viewport units.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the purpose of using a reset in CSS when styling a webpage?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain the difference between setting an element's height to 100% and 100VH.

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What happens when you set the height of an element to 50VH?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you ensure that a background image covers the entire viewport?

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?