Deck 4: Bootstrap 5 Flashcards

(26 cards)

1
Q

What is Bootstrap?
A) A front-end framework for building responsive websites
B) A database management system
C) A programming language
D) A server-side tool

A

A

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

What is a key advantage of using Bootstrap?
A) Requires advanced coding skills
B) Easy to use with basic HTML and CSS knowledge
C) Only works on desktops
D) Requires no HTML

A

B

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

What design approach does Bootstrap follow?
A) Desktop-first
B) Server-first
C) Mobile-first
D) Database-first

A

C

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

Which browsers support Bootstrap 5?
A) Only Chrome
B) Only Firefox
C) Only Edge
D) All modern browsers

A

D

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

Who originally developed Bootstrap?
A) Mark Otto and Jacob Thornton
B) Bill Gates and Paul Allen
C) Steve Jobs and Steve Wozniak
D) Larry Page and Sergey Brin

A

A

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

How can you include Bootstrap in a project?
A) Only by downloading files
B) Using CDN or downloading files locally
C) Only through JavaScript
D) Only through CSS imports

A

B

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

What is required in the <head> for responsive design?
A) <title>
B) <link></link>
C) <meta></meta>
D)

</title>

A

C

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

What is the purpose of a container in Bootstrap?
A) Holds only images
B) Applies colors
C) Adds animations
D) Centers and pads content

A

D

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

Which class creates a fixed-width container?
A) .container
B) .container-fluid
C) .row
D) .col

A

A

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

Which class creates a full-width container?
A) .container
B) .container-fluid
C) .row
D) .col

A

B

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

What is the role of a row in the grid system?
A) Styles text
B) Adds spacing
C) Wraps columns
D) Defines colors

A

C

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

What is the role of columns in Bootstrap?
A) Hold CSS styles
B) Define containers
C) Control JavaScript
D) Contain actual content

A

D

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

How many columns are available in Bootstrap’s grid system?
A) 12
B) 10
C) 8
D) 6

A

A

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

What does .col-md-6 mean?
A) Full width always
B) Takes 6 columns on medium screens and above
C) Only works on small screens
D) Applies margin

A

B

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

Which breakpoint applies to devices ≥768px?
A) sm
B) lg
C) md
D) xl

A

C

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

What happens if columns exceed 12 in a row?
A) They disappear
B) They overlap
C) They shrink
D) They wrap to the next line

17
Q

Which component is used for navigation headers?
A) Navbar
B) Card
C) Modal
D) Alert

18
Q

Which component is used for pop-up dialogs?
A) Card
B) Modal
C) Alert
D) Navbar

19
Q

Which component is used to display content in boxes?
A) Navbar
B) Alert
C) Card
D) Modal

20
Q

Which component shows feedback messages?
A) Navbar
B) Card
C) Modal
D) Alert

21
Q

Which class creates a primary button?
A) .btn-primary
B) .btn-main
C) .btn-blue
D) .btn-default

22
Q

Which utility controls margin?
A) p-
B) m-
C) d-
D) text-

23
Q

Which utility centers text?
A) .text-left
B) .text-right
C) .text-center
D) .text-middle

24
Q

Which class makes an element a flex container?
A) .d-block
B) .d-none
C) .d-inline
D) .d-flex

25
What does .mt-3 mean? A) Margin-top size 3 B) Margin-total 3 C) Margin-text 3 D) Margin-type 3
A
26
What does .bg-dark do? A) Adds dark text B) Adds dark background C) Adds border D) Adds shadow
B