wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSS-Midterm

Total questions: 151

Worksheet time: 2hrs 31mins

Name
Class
Date
1.

What is the main goal of user-centered design?

a)

To make the website visually appealing.

b)

To prioritize the developer's preferences.

c)

To create a website that is intuitive and efficient for users.

d)

To reduce development costs.

2.

Why is it important to consider target demographics in user-centered design?

a)

To determine the website's color scheme.

b)

To choose appropriate design elements for the intended audience.

c)

To decide on the website's content.

d)

To set the price of products or services.

3.

What is one way to gather information about user behavior on your website?

a)

Conduct in-person interviews.

b)

Use social media polls.

c)

Implement analytics tools like Google Analytics.

d)

Ask friends and family for opinions.

4.

How does user-centered design address the goals of end users for different types of websites?

a)

By always including advertisements to maximize revenue.

b)

By tailoring design choices, like avoiding competing ads on e-commerce sites but including them on personal blogs.

c)

By focusing solely on the website's visual appeal.

d)

By prioritizing the same design for all websites.

5.

Why is involving users directly important in user-centered design?

a)

To allow developers to maintain full control over design decisions.

b)

To collect feedback on user experiences and pain points for iterative improvements.

c)

To reduce the need for analytics tools.

d)

To finalize the design before launch.

6.

What is dark mode?

a)

A feature that changes the default light color scheme to a dark color scheme.

b)

A feature that changes the default dark color scheme to a light color scheme.

c)

A feature that changes the default font size to a larger size.

d)

A feature that changes the default layout of a web page.

7.

Why is it not a good idea to use pure black backgrounds with white text in dark mode?

a)

Pure black backgrounds can cause security issues.

b)

Pure black backgrounds can cause performance issues.

c)

Pure black backgrounds with white text are too subtle.

d)

Pure black backgrounds with white text can be too harsh on the eyes.

8.

What types of colors are suggested to use in dark mode?

a)

Red colors.

b)

Desaturated colors.

c)

Bright colors.

d)

Pastel colors.

9.

How should brand identity be considered when implementing dark mode?

a)

Ignore brand identity to prioritize dark mode aesthetics.

b)

Use brand elements like logos and buttons at full saturation while keeping surrounding elements desaturated.

c)

Change the brand's colors completely to match dark mode.

d)

Avoid using any brand elements in dark mode.

10.

What is a key consideration for designing an effective dark mode feature?

a)

Maximizing the use of bright, saturated colors for visual appeal.

b)

Ensuring high contrast with pure black and white for all elements.

c)

Prioritizing user experience and appropriate contrast levels.

d)

Focusing only on the website's performance metrics.

11.

What are breadcrumbs?

a)

A navigation aid that shows the user where they are in the site's hierarchy.

b)

A type of container for images.

c)

A navigation aid only found on mobile sites.

d)

A type of container for text.

12.

When should you use breadcrumbs on your site?

a)

You should never use breadcrumbs.

b)

If your site has a deep hierarchy for navigation.

c)

If your site is simple and has a shallow hierarchy.

d)

You should only use them for mobile sites.

13.

Which of the following is a common separator for breadcrumbs?

a)

>>>>

b)

||||

c)

/

d)

&&&

14.

Where are breadcrumbs typically placed on a webpage?

a)

At the bottom of the page.

b)

In the center of the content area.

c)

At the top of the page, above or below the main navigation bar.

d)

Hidden within a dropdown menu.

15.

What is a key consideration for the size of breadcrumbs?

a)

They should be as large as possible to dominate the page.

b)

They should be large enough to read but not take up too much space.

c)

They should be small enough to be hidden from users.

d)

They should match the size of the main navigation bar.

16.

Why is it important to have a simple card design?

a)

You want users to have a good user experience and digest the information easily.

b)

You want users to be confused.

c)

You want users to be overwhelmed.

d)

You want users to be frustrated.

17.

Why is it important to have good color hierarchy on your card design?

a)

To make it difficult for users to understand the information.

b)

To make the site perform better.

c)

To highlight the most important information on the card.

d)

To make the card visually cluttered.

18.

What are the advantages of using high-quality media on your card design?

a)

There are no advantages.

b)

Users will leave the site immediately.

c)

It will speed up the performance of the site.

d)

Users will trust the quality of your products and services.

19.

How should clickable areas be handled in card design?

a)

Make only the text on the card clickable.

b)

Ensure clickable areas are consistent and clear, such as a single button or the entire card with hover effects.

c)

Make clickable areas random to keep users guessing.

d)

Avoid making any part of the card clickable.

20.

Where are card components commonly used?

a)

Only in gaming websites.

b)

In e-commerce, social media, and news sites.

c)

Exclusively in educational platforms.

d)

Only in mobile applications.

21.

What is infinite scrolling?

a)

A design pattern that changes the scrollbar on the page.

b)

A design pattern that changes the size of the page.

c)

A design pattern to change the background color of the page.

d)

A design pattern that loads more content as the user scrolls down the page.

22.

What is the role of a 'Load More' button in infinite scrolling?

a)

It reloads the page.

b)

To give users control over when they want to see more content.

c)

It allows users to go back to previously loaded content.

d)

It restricts the amount of data that can be loaded.

23.

Why is it important to keep the footer accessible while using an infinite scroll?

a)

It helps make the colors stand out more on the page.

b)

It helps make the page load faster.

c)

It is not important to keep the footer accessible.

d)

So the user can access the links and important information from the footer at all times.

24.

Why is a loading indicator important in infinite scrolling?

a)

It changes the page's appearance to match the content.

b)

It informs users that more content is being loaded.

c)

It prevents users from scrolling further.

d)

It redirects users to the top of the page.

25.

What is the purpose of including a 'Back to the top' button in infinite scrolling?

a)

To reload the entire page.

b)

To allow users to quickly return to the top of the page.

c)

To stop the infinite scroll from loading more content.

d)

To navigate to a different website.

26.

What is the purpose of dimming the content behind a modal dialog?

a)

To save battery life on mobile devices.

b)

To help users visually identify the area they should interact with.

c)

To make the website load faster.

d)

To prevent users from seeing sensitive information.

27.

What does CTA stand for in the context of modal design?

a)

Click To Activate.

b)

Complete The Action.

c)

Call-to-Action.

d)

Close The Application.

28.

Why is it important to include a close button in a modal dialog?

a)

It's required by law in some countries.

b)

To prevent the modal from crashing the browser.

c)

To give users an option to exit the modal and resume their previous activity.

d)

To make the modal look more professional.

29.

What is a recommended way for users to close a modal dialog besides using the close button?

a)

Pressing the Enter key repeatedly.

b)

Clicking outside of the modal.

c)

Refreshing the entire page.

d)

Scrolling down the page.

30.

What is a key accessibility concern when designing modal dialogs?

a)

Ensuring the modal matches the site's color scheme.

b)

Correctly managing focus on elements within the modal.

c)

Making the modal as large as possible.

d)

Adding animations to make it more engaging.

31.

What is the primary goal of using a progress indication in forms or registration processes?

a)

To entertain users while they complete the form.

b)

To inform users about how far they are in the process and what is left to do.

c)

To reduce the number of steps in the process.

d)

To speed up the form submission process.

32.

Why is it important to allow users to go back to previous steps in a form or registration process?

a)

To let users change their answers or review previous entries.

b)

To make the form more complex.

c)

To limit the number of steps in the process.

d)

To increase the time users spend on the site.

33.

What should you consider when placing a progress indication section on a webpage?

a)

It should be as small as possible to avoid distracting the user.

b)

It should be easy to find and clearly labeled with context like section titles or percentages.

c)

It should be hidden until the user reaches the final step.

d)

It should only include a visual progress bar with no text.

34.

Why is simplicity important when designing a progress indication section?

a)

To make the process appear more complicated.

b)

To avoid overwhelming users with too much information that could lead to frustration.

c)

To hide the actual number of steps from users.

d)

To use only advanced visual effects for appeal.

35.

What is a recommended practice for providing context in a progress indication?

a)

Use only a plain progress bar without any labels.

b)

Include clear section titles, percentages, or step numbers.

c)

Display all form details in the progress section.

d)

Omit any numerical indicators to keep it abstract.

36.

What is a crucial aspect of designing a shopping cart that can impact the shopping experience and sales?

a)

The color of the shopping cart icon.

b)

The position of the shopping cart on the page.

c)

The number of items in the cart.

d)

The brand of the e-commerce website.

37.

How should users be able to update the quantity of items in their cart?

a)

By contacting customer service.

b)

By using a dropdown menu.

c)

By entering a new number in a quantity input field.

d)

By adding a new item with the desired quantity.

38.

What is an important feature to include in the shopping cart to help users proceed with their purchase?

a)

A 'Save for Later' option.

b)

Multiple call-to-action buttons.

c)

A clear and prominent checkout button.

d)

An option to chat with a sales representative.

39.

What is the main purpose of using progressive disclosure in design?

a)

To increase the number of features visible at all times.

b)

To overwhelm users with all available options.

c)

To only show users relevant content based on their current activity.

d)

To make the user interface more complex.

40.

How does Google implement progressive disclosure on its search page?

a)

By displaying all search options at once.

b)

By offering an advanced search option that reveals more features when needed.

c)

By hiding the search bar behind a modal dialog.

d)

By providing a new search page for each query.

41.

What should be avoided to ensure a good user experience with progressive disclosure?

a)

Providing a single, clear access point to additional information.

b)

Using multiple access points to confuse users.

c)

Keeping important information visible at all times.

d)

Ensuring that additional information is available when needed.

42.

How does lazy registration impact user interaction with an application?

a)

It immediately limits user access until they complete a registration form.

b)

It encourages users to engage with content before asking for their registration details.

c)

It requires users to provide payment information before accessing any features.

d)

It makes the registration process mandatory before users can view any part of the application.

43.

What is one of the main benefits of lazy registration in UI design?

a)

Users can immediately make purchases without registering.

b)

Users can see the value of the application before deciding to register.

c)

Users are required to register to view any content.

d)

Users can bypass all security protocols during registration.

44.

Which of the following is an example of a platform that uses lazy registration?

a)

A banking app requiring users to register before browsing financial products.

b)

An e-commerce site allowing users to browse products and add items to a cart before registering.

c)

An email service that asks users to register before reading any emails.

d)

A health app that requires registration to access general health tips.

45.

What is a pixel?

a)

An absolute fixed-size unit of measurement in CSS, providing precise control over dimensions.

b)

A relative unit of measurement in CSS.

c)

A unit of measurement that is relative to the size of the screen.

d)

A unit of measurement that is relative to the size of the parent element.

46.

What are the two types of units you can use to define properties in CSS?

a)

margins and padding.

b)

cm and mm.

c)

absolute and relative units.

d)

picas and points.

47.

Which of the following is NOT an absolute unit of measurement in CSS?

a)

pt

b)

rem

c)

in

d)

px

48.

What happens if you set width: 50% on an element whose parent has a width of 300px?

a)

The element will be 150px wide.

b)

The element will be 50px wide.

c)

The element will be 600px wide.

d)

The element will have no width.

49.

In the following CSS rule, what does the percentage value affect?

a)

The width of the element.

b)

The height of the element.

c)

The top margin of the element.

d)

The font size of the element.

50.

Which of the following is NOT a good use case for percentage values in CSS?

a)

Setting the width of a responsive container.

b)

Defining the border-radius of a circular element.

c)

Scaling an image within its container.

d)

Specifying the line-height of text.

51.

What is the main goal of user-centered design?

a)

To make the website visually appealing.

b)

To prioritize the developer's preferences.

c)

To create a website that is intuitive and efficient for users.

d)

To reduce development costs.

52.

Why is it important to consider target demographics in user-centered design?

a)

To determine the website's color scheme.

b)

To choose appropriate design elements for the intended audience.

c)

To decide on the website's content.

d)

To set the price of products or services.

53.

What is one way to gather information about user behavior on your website?

a)

Conduct in-person interviews.

b)

Conduct in-person interviews.

c)

Implement analytics tools like Google Analytics.

d)

Ask friends and family for opinions.

54.

What is the main goal of user-centered design?

a)

To make the website visually appealing.

b)

To prioritize the developer's preferences.

c)

To create a website that is intuitive and efficient for users.

d)

To reduce development costs.

55.

: Why is it important to consider target demographics in user-centered design?

a)

To determine the website's color scheme.

b)

To choose appropriate design elements for the intended audience.

c)

To decide on the website's content.

d)

To set the price of products or services.

56.

What is one way to gather information about user behavior on your website?

a)

Conduct in-person interviews

b)

Use social media polls.

c)

Implement analytics tools like Google Analytics.

d)

Ask friends and family for opinions.

57.

How does user-centered design address the goals of end users for different types of websites?

a)

By always including advertisements to maximize revenue.

b)

By tailoring design choices, like avoiding competing ads on e-commerce sites but including them on personal blogs.

c)

By focusing solely on the website's visual appeal.

d)

By prioritizing the same design for all websites.

58.

Why is involving users directly important in user-centered design?

a)

To allow developers to maintain full control over design decisions.

b)

To collect feedback on user experiences and pain points for iterative improvements.

c)

To reduce the need for analytics tools.

d)

To finalize the design before launch.

59.

What is dark mode?

a)

A feature that changes the default light color scheme to a dark color scheme.

b)

A feature that changes the default dark color scheme to a light color scheme.

c)

A feature that changes the default font size to a larger size.

d)

A feature that changes the default layout of a web page.

60.

Why is it not a good idea to use pure black backgrounds with white text in dark mode?

a)

Pure black backgrounds can cause security issues.

b)

Pure black backgrounds can cause performance issues.

c)

Pure black backgrounds with white text are too subtle.

d)

Pure black backgrounds with white text can be too harsh on the eyes.

61.

What types of colors are suggested to use in dark mode?

a)

Red colors.

b)

Desaturated colors.

c)

Bright colors.

d)

Pastel colors.

62.

How should brand identity be considered when implementing dark mode?

a)

Ignore brand identity to prioritize dark mode aesthetics.

b)

Use brand elements like logos and buttons at full saturation while keeping surrounding elements desaturated.

c)

Change the brand’s colors completely to match dark mode.

d)

Avoid using any brand elements in dark mode.

63.

What is a key consideration for designing an effective dark mode feature?

a)

Maximizing the use of bright, saturated colors for visual appeal.

b)

Ensuring high contrast with pure black and white for all elements

c)

Prioritizing user experience and appropriate contrast levels.

d)

Focusing only on the website’s performance metrics.

64.

What are breadcrumbs?

a)

A navigation aid that shows the user where they are in the site's hierarchy.

b)

A type of container for images.

c)

A navigation aid only found on mobile sites.

d)

A type of container for text.

65.

When should you use breadcrumbs on your site?

a)

You should never use breadcrumbs.

b)

If your site has a deep hierarchy for navigation.

c)

If your site is simple and has a shallow hierarchy.

d)

You should only use them for mobile sites.

66.

Which of the following is a common separator for breadcrumbs?

a)

>>>>

b)

||||

c)

/

d)

&&&

67.

Where are breadcrumbs typically placed on a webpage?

a)

At the bottom of the page.

b)

In the center of the content area.

c)

At the top of the page, above or below the main navigation bar.

d)

Hidden within a dropdown menu.

68.

What is a key consideration for the size of breadcrumbs?

a)

They should be as large as possible to dominate the page.

b)

They should be large enough to read but not take up too much space.

c)

They should be small enough to be hidden from users.

d)

They should match the size of the main navigation bar.

69.

Why is it important to have a simple card design?

a)

You want users to have a good user experience and digest the information easily.

b)

You want users to be confused

c)

You want users to be overwhelmed.

d)

You want users to be frustrated.

70.

Why is it important to have good color hierarchy on your card design?

a)

To make it difficult for users to understand the information.

b)

To make the site perform better.

c)

To highlight the most important information on the card.

d)

To make the card visually cluttered.

71.

What are the advantages of using high-quality media on your card design?

a)

There are no advantages.

b)

Users will leave the site immediately.

c)

It will speed up the performance of the site.

d)

Users will trust the quality of your products and services.

72.

How should clickable areas be handled in card design?

a)

Make only the text on the card clickable.

b)

Ensure clickable areas are consistent and clear, such as a single button or the entire card with hover effects.

c)

Make clickable areas random to keep users guessing.

d)

Avoid making any part of the card clickable.

73.

Where are card components commonly used?

a)

Only in gaming websites.

b)

In e-commerce, social media, and news sites.

c)

Exclusively in educational platforms.

d)

Only in mobile applications.

74.

What is infinite scrolling?

a)

A design pattern that changes the scrollbar on the page.

b)

A design pattern that changes the size of the page.

c)

A design pattern to change the background color of the page.

d)

A design pattern that loads more content as the user scrolls down the page.

75.

What is the role of a "Load More" button in infinite scrolling?

a)

It reloads the page.

b)

To give users control over when they want to see more content.

c)

It allows users to go back to previously loaded content.

d)

It restricts the amount of data that can be loaded.

76.

Why is it important to keep the footer accessible while using an infinite scroll?

a)

It helps make the colors stand out more on the page.

b)

It helps make the page load faster.

c)

It is not important to keep the footer accessible.

d)

So the user can access the links and important information from the footer at all times.

77.

Why is a loading indicator important in infinite scrolling?

a)

It changes the page’s appearance to match the content.

b)

It informs users that more content is being loaded.

c)

It prevents users from scrolling further.

d)

It redirects users to the top of the page.

78.

What is the purpose of including a "Back to the top" button in infinite scrolling?

a)

To reload the entire page.

b)

To allow users to quickly return to the top of the page.

c)

To stop the infinite scroll from loading more content.

d)

To navigate to a different website.

79.

What is the purpose of dimming the content behind a modal dialog?

a)

To save battery life on mobile devices.

b)

To help users visually identify the area they should interact with.

c)

To make the website load faster.

d)

To prevent users from seeing sensitive information.

80.

Which of the following values is the default for flex-direction?

a)

column

b)

row

c)

row-reverse

d)

column-reverse

81.

What does flex-wrap: nowrap; do?

a)

Forces items onto a new line if needed

b)

Keeps all items on a single line, even if they overflow

c)

Reverses the order of wrapped items

d)

Stretches items along the cross axis

82.

Which of the following properties can be combined into the flex-flow property?

a)

flex-direction and justify-content

b)

flex-direction and align-items

c)

flex-direction and align-content

d)

flex-direction and flex-wrap

83.

If you set justify-content: space-between; on a flex container, what happens?

a)

All items are centered in the container

b)

Items are evenly spaced, with equal gaps on both sides

c)

Items are spaced with equal gaps between them, but no extra space at the edges

d)

Items are pushed to the right side of the container

84.

The property align-items aligns items along which axis?

a)

Main axis

b)

Cross axis

c)

Both axes

d)

It depends on flex-wrap

85.

What does flex-direction: column; do?

a)

Aligns items horizontally from left to right

b)

Aligns items vertically from top to bottom

c)

Reverses the row order

d)

Reverses the column order

86.

Which of the following distributes items with equal space before, between, and after each item?

a)

space-between

b)

space-around

c)

space-evenly

d)

center

87.

Which property controls how much a flex item can grow relative to the other items in the same container?

a)

flex-basis

b)

flex-grow

c)

flex-shrink

d)

align-self

88.

The align-content property only works when...

a)

There is more than one line of flex items

b)

Items are all on one line

c)

justify-content is set to center

d)

align-items is set to stretch

89.

Which of the following is the correct shorthand for flex-grow: 1; flex-shrink: 0; flex-basis: auto;?

a)

flex: auto 1 0;

b)

flex: 1 0 auto;

c)

flex: 0 1 auto;

d)

flex: 1 auto 0;

90.

What will be the layout of the items in the container below? .container { display: flex; flex-direction: column-reverse; }

a)

Items are arranged horizontally from left to right

b)

Items are arranged vertically from top to bottom

c)

Items are arranged vertically from bottom to top

d)

Items are stacked with no direction

91.

Given this code, how will the items align? .container { display: flex; justify-content: space-around; }

a)

Items are packed at the start of the container

b)

Items are evenly spaced, with space on both sides of each item

c)

Items are evenly spaced, but no space on the edges

d)

Items are pushed to the bottom

92.

What happens with the code below when items exceed the container width? .container { display: flex; flex-wrap: wrap; }

a)

Items shrink to fit on one line

b)

Items overflow outside the container

c)

Items wrap onto a new line

d)

Items reverse their order

93.

What does this shorthand mean? .item { flex: 2 1 200px; }

a)

Item grows twice as fast as others, can shrink, and starts at 200px

b)

Item grows at a fixed 200px and never shrinks

c)

Item shrinks twice as much and has no base size

d)

Item ignores container space

94.

What is the effect of this code? .container { display: flex; align-items: center; height: 400px; }

a)

Items are centered along the horizontal axis

b)

Items are centered along the vertical axis

c)

Items stretch to fill the height

d)

Items align at the bottom

95.

The property that defines the direction of the main axis in a flex container is (a)   .

96.

To allow items to move onto multiple lines when they don't fit, we use (a)   .

97.

The shorthand property that combines flex-direction and flex-wrap is (a)   .

98.

To align flex items along the cross axis (vertically by default), we use (a)   .

99.

The property that distributes extra space between items along the main axis is (a)   .

100.

In the shorthand flex: 1 0 auto;, the first value (1) represents (a)   .

101.

If you want a single item to override the container's alignment, you can use (a)   .

102.

The property that controls the order in which flex items appear is (a)   .

103.

When using justify-content: space-between;, the extra space is placed __________.

4 lines
104.

The default value of flex-direction is (a)   .

105.

In the CSS box model, the space between the content and the border is called (a)   .

106.

In Flexbox, the axis that runs perpendicular to the main axis is called the (a)   .

107.

In the CSS box model, the outermost layer that creates space between elements is the (a)   .

108.

If you want all flex items in a row to stretch to the same height, you use __________.

4 lines
109.

In the CSS box model, the property that sets the thickness of the line surrounding content and padding is (a)   .

110.

The property that defines the direction of the main axis in a flex container is (a)   .

111.

In the CSS box model, the space between the content and the border is called (a)   .

112.

In Flexbox, the axis that runs perpendicular to the main axis is called the (a)   .

113.

In the CSS box model, the outermost layer that creates space between elements is the (a)   .

114.

If you want all flex items in a row to stretch to the same height, you use __________.

4 lines
115.

In the CSS box model, the property that sets the thickness of the line surrounding content and padding is (a)   .

116.

Which of the following values is the default for flex-direction?

a)

column

b)

row

c)

row-reverse

d)

column-reverse

117.

What does flex-wrap: nowrap; do?

a)

Forces items onto a new line if needed

b)

Keeps all items on a single line, even if they overflow

c)

Reverses the order of wrapped items

d)

Stretches items along the cross axis

118.

Which of the following properties can be combined into the flex-flow property?

a)

flex-direction and justify-content

b)

flex-direction and align-items

c)

flex-direction and align-content

d)

flex-direction and flex-wrap

119.

If you set justify-content: space-between; on a flex container, what happens?

a)

All items are centered in the container

b)

Items are evenly spaced, with equal gaps on both sides

c)

Items are spaced with equal gaps between them, but no extra space at the edges

d)

Items are pushed to the right side of the container

120.

The property align-items aligns items along which axis?

a)

Main axis

b)

Cross axis

c)

Both axes

d)

It depends on flex-wrap

121.

What does flex-direction: column; do?

a)

Aligns items horizontally from left to right

b)

Aligns items vertically from top to bottom

c)

Reverses the row order

d)

Reverses the column order

122.

Which of the following distributes items with equal space before, between, and after each item?

a)

space-between

b)

space-around

c)

space-evenly

d)

center

123.

Which property controls how much a flex item can grow relative to the other items in the same container?

a)

flex-basis

b)

flex-grow

c)

flex-shrink

d)

align-self

124.

The align-content property only works when...

a)

There is more than one line of flex items

b)

Items are all on one line

c)

justify-content is set to center

d)

align-items is set to stretch

125.

Which of the following is the correct shorthand for flex-grow: 1; flex-shrink: 0; flex-basis: auto;?

a)

flex: auto 1 0;

b)

flex: 1 0 auto;

c)

flex: 0 1 auto;

d)

flex: 1 auto 0;

126.

What will be the layout of the items in the container below? .container { display: flex; flex-direction: column-reverse; }

a)

Items are arranged horizontally from left to right

b)

Items are arranged vertically from top to bottom

c)

Items are arranged vertically from bottom to top

d)

Items are stacked with no direction

127.

Given this code, how will the items align? .container { display: flex; justify-content: space-around; }

a)

Items are packed at the start of the container

b)

Items are evenly spaced, with space on both sides of each item

c)

Items are evenly spaced, but no space on the edges

d)

Items are pushed to the bottom

128.

What happens with the code below when items exceed the container width? .container { display: flex; flex-wrap: wrap; }

a)

Items shrink to fit on one line

b)

Items overflow outside the container

c)

Items wrap onto a new line

d)

Items reverse their order

129.

What does this shorthand mean? .item { flex: 2 1 200px; }

a)

Item grows twice as fast as others, can shrink, and starts at 200px

b)

Item grows at a fixed 200px and never shrinks

c)

Item shrinks twice as much and has no base size

d)

Item ignores container space

130.

What is the effect of this code? .container { display: flex; align-items: center; height: 400px; }

a)

Items are centered along the horizontal axis

b)

Items are centered along the vertical axis

c)

Items stretch to fill the height

d)

Items align at the bottom

131.

The property that defines the direction of the main axis in a flex container is (a)   .

132.

To allow items to move onto multiple lines when they don't fit, we use (a)   .

133.

The shorthand property that combines flex-direction and flex-wrap is (a)   .

134.

To align flex items along the cross axis (vertically by default), we use (a)   .

135.

The property that distributes extra space between items along the main axis is (a)   .

136.

In the shorthand flex: 1 0 auto;, the first value (1) represents (a)   .

137.

If you want a single item to override the container's alignment, you can use (a)   .

138.

The property that controls the order in which flex items appear is (a)   .

139.

When using justify-content: space-between;, the extra space is placed __________.

4 lines
140.

The default value of flex-direction is (a)   .

141.

In the CSS box model, the space between the content and the border is called (a)   .

142.

In Flexbox, the axis that runs perpendicular to the main axis is called the (a)   .

143.

In the CSS box model, the outermost layer that creates space between elements is the (a)   .

144.

If you want all flex items in a row to stretch to the same height, you use __________.

4 lines
145.

In the CSS box model, the property that sets the thickness of the line surrounding content and padding is (a)   .

146.

The property that defines the direction of the main axis in a flex container is (a)   .

147.

In the CSS box model, the space between the content and the border is called (a)   .

148.

In Flexbox, the axis that runs perpendicular to the main axis is called the (a)   .

149.

In the CSS box model, the outermost layer that creates space between elements is the (a)   .

150.

If you want all flex items in a row to stretch to the same height, you use __________.

4 lines
151.

In the CSS box model, the property that sets the thickness of the line surrounding content and padding is (a)   .