M3- Getting started with Bootstrap Flashcards

1
Q

What is Bootstrap?

A

Bootstrap is like a toolkit for web developers. Bootstrap is a collection of pre-written CSS and JavaScript code that helps you create websites faster and more efficiently by providing pre-designed components like buttons, forms, grids, and more.

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

Why Use Bootstrap?

A

Building websites from scratch can be time-consuming and repetitive. By using Bootstrap, you can speed up the development process by leveraging pre-designed elements, which also helps in maintaining a consistent style and structure.

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

What is the first step in setting up a Bootstrap webpage layout?

A

The first step is to add container elements. In Bootstrap, a container is a div element with the container class applied to it. This element acts as a wrapper for your content, ensuring it’s aligned and spaced correctly.

Not always the case

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

What are rows and columns in Bootstrap, and how do you use them?

A

Rows and columns are the building blocks of a Bootstrap layout. A row (div with the row class) is a horizontal section where content is placed. Within a row, you can create columns (div with the col class) to divide the row into vertical sections. This helps in organizing content side by side, like placing a menu in one column and prices in another.

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

What is the img-fluid class?

A

The img-fluid class ensures the image scales properly within the column.

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