M3- Introduction to responsive design Flashcards

1
Q

What is responsive design?

A

Responsive design is a technique in web development that allows a website to automatically adjust its layout and appearance based on the device it’s viewed on, such as laptops, tablets, and mobile phones. This ensures the best user experience across different screen sizes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is responsive design important?

A

Responsive design is important because there are many different devices with varying screen sizes and resolutions. Without responsive design, websites would not display correctly on all devices, making them difficult to use or view on smaller or larger screens.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the three main components of responsive design?

A
  1. Flexible Frids
  2. Fluid Images
  3. Media Queries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are flexible grids?

A

Flexible grids are a way of structuring a webpage layout using columns, gutters (the space between columns), and margins (the space between the content and the edges of the screen). Instead of using fixed pixel sizes, flexible grids use percentage values, allowing the layout to adjust depending on the screen size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are fluid images in responsive design?

A

Fluid images are images that automatically scale down if their containing column becomes narrower than the image’s size. This is achieved by setting the max-width property of images to 100% in CSS, ensuring they fit within their container without overflowing or becoming pixelated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are media queries in CSS?

A

Media queries are a feature in CSS that allows developers to apply different styles based on the device’s characteristics, such as screen size, orientation, and resolution. For example, a media query can change the website’s background color if the screen width is less than 700 pixels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a breakpoint in responsive design?

A

A breakpoint is a specific screen size at which the layout of the website changes to provide the best possible user experience. It’s the point where the design adapts to the new screen conditions, such as adjusting column widths or rearranging content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the different types of grids used in responsive design?

A

1. Fixed Grid: Has fixed-width columns with flexible margins. The content width remains constant within a certain range of screen sizes, while the margins adjust to fill the space.
2. Fluid (Full Width) Grid: Columns stretch to fill the available screen space, with fixed gutters and margins. The content adjusts to the screen size, filling the entire width.
3. Hybrid Grid: A combination of fixed and fluid components, where some parts of the grid are fixed in size, while others adjust based on the screen size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do flexible grids, fluid images, and media queries work together in responsive design?

A

When used together, these components allow a website to automatically adjust its layout and visuals based on the device’s screen size and resolution, creating a responsive grid that provides an optimal viewing experience on any device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why are breakpoints crucial in responsive design?

A

Breakpoints are crucial because they define the points at which the website’s layout changes to accommodate different screen sizes, ensuring the best possible user experience by adapting content and layout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly