Bootstrap Flashcards

1
Q

How do you add Bootstrap to your webpage using CDN (Content Delivery Network) for styling?

A

Copy the link from bootstrap.com into the head section of your web page.

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

How do you ad Bootstrap to your webpage using CDN (Content Delivery Network) for functionality like dropdown menus?

A

Copy the script link from Bootstrap.com onto your webpage just before the end of the Body tag.

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

How many columns are in a Bootstrap container class?

A
  1. if you only use three of the columns it will make them equal in size.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the col-2 class do to your div that is inside a container class div?

A

This would tell your div to use up 2 of the 12 boxes or 1/6 of the container. you can use col-1 thru col-12.

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

How do you use Bootstrap to determine what size screen is 100% of the width you want to use?

A

When you declare <div class”container”> add -sm, -md, -lg, -xl, -xxl
Ex: container-lg would make 992px 100%

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

What does class=”col-sm-6 col-lg-4” mean?

A

This means when the screen size is large or above, have this div use 4 of the twelve columns. When the screen is from sm to lg use up 6 columns.

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

How do you “grab” a section from the Bootstrap website?

A

Right click on the stuff you want to use and select inspect on the menu. Hover over the code on the right to find what you want then copy it.

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