Help:Wiki University Flexbox Answers

Quick Quiz
1. You can see all the stuff on this page on your smart phone just as you see it here? B. False The view port on a smart phone is much smaller than a PC so the items will "wrap" and form a column and thus illuminate scroll bars.

2. When viewing this page on your smart phone, you do not have to scroll to see all the width? A. True See the above explanation

3. Where might you see the "Get Involved" on your smart phone? B. Under "Main Page." If you had dragged the right edge of the Introduction page, you would have noticed that "Get Involved" wrapped under 'Main Page.

4. One of the reasons for Flexbox is to allow a page to be seen more easily on a tablet without scroll bars. A. True

Back to Introduction

Exercises
1.  Item 1  Item 2  Item 3  Item 4  Item 5 Here is the coding: Item 1    Item 2     Item 3     Item 4     Item 5

2.  Item 1  Item 2  Item 3  Item 4  Item 5 Here is the coding: Item 1    Item 2     Item 3     Item 4     Item 5

3.  Item 1  Item 2  Item 3  Item 4  Item 5 Here is the coding: Item 1    Item 2     Item 3     Item 4     Item 5

Quick Quiz
1. To put items at the beginning of a row, you need to use "justify-content:left-end"?. B. False ''Items are put on the left side of the page by default by using "display:flex." 2. To place items in the middle of a page you need to use you use: "justify-content:middle?" A. False The code is "justify-content:center" 3. To place items on the right side of a page you need to use "justify-content:right-end?" B. False The code is "justify-content:flex-end" Back to Display Horizontal

Exercises
1. Take these five boxes and arrange them in a row with even spaces between: Item 1 Item 2 Item 3 Item 4 Item 5 Here is the coding: Item 1    Item 2     Item 3     Item 4     Item 5

2. Place these five boxes using the space around attribute

Item 1 Item 2 Item 3 Item 4 Item 5 Here is the coding: Item 1    Item 2     Item 3     Item 4     Item 5

Back to Horizontal Spacing

Quick Quiz
1. To put even spaces between boxes and no spaces at each end, you use "justify-content:space-around". B. False Use justify-content:space-between. 2. To place items in the middle of a page you need to use you use: "justify-content:middle?" B. False You use justify-content:center. 3. To place items on the right side of a page you need to use "justify-content:right-end?" B. False The coding is justify-content:flex-end.

Back to Horizontal Spacing

Exercises
1. Take these five boxes and arrange them in a row with item 4 10 times bigger than the rest Item 1 Item 2 Item 3 Item 4 Item 5 2. Put item 4 and the first item in the row Back to Box Sizes

Quick Quiz
1. You cannot change the size of the items in a row with Flexbox A. True B. False 2. Flex:5 means that the item is about 1/5 the size of a flex:1 item. A. True B. False 3. Order:1 means the item is first in the row. A. True B. False Back to Box Sizes

Exercises
1. Take these five items and set them to a width of 300 pixels and put in a wrap attribute. Item 1 Item 2 Item 3 Item 4 Item 5 2. Made "item 3" three times larger than the rest, set the width to 250 pixels and then wrap them. Back to Flex Wrapping

Quick Quiz
1. Wrapping will only happen when flex:# is in the of the code line. A. True B. False 2. When wrapping, the last item will come the first item? A. True B. False 3. When wrapping, the last item will end up on top of the first item? A. True B. False Back to Flex Wrapping

Exercises
1. Make these five items appear in a column without any coding Item 1 Item 2 Item 3 Item 4 Item 5 2. Make the above five items appear in a column with coding. 3. Put the five items in a column and put these five items inside "item 4" Back to Display Vertical

Quick Quiz
1. you cannot put a column inside a box that is in a row of items A. True B. False 2. You cannot put a Flexbox inside of another Flexbox A. True B. False 3. You cannot put a Flexbox inside of a Flexbox which is inside another Flexbox A. True B. False 4. There is only one way to put items in a column A. True B. False Back to Display Vertical

Exercises
1. Create a row of five boxes and put these five titles in the center of each box horizontally, not vertically. Item 1 Item 2 Item 3 Item 4 Item 5 2. Create a row of five boxes and put these five titles in the center of each vertically, not horizontally. 3. Create a row of five boxes and put these five titles in the center of each box both vertically and horizontally. Back to Centering Text

Quick Quiz
1. You have to include "display-flex" in order to center items in a box A. True B. False 2. To place a title in the center vertically, you use "justify-content:center" A. True B. False 3. To place a title in the middle horizontally, you use "justify-content:middle." A. True B. False Back to Centering Text

Exercises
1. Take these five items and make a tool bar that is 1200 pixels wide. Item 1 Item 2 Item 3 Item 4 Item 5 2. Create a six item tool bar with the blank space being "flex:3." 3. For extra credit, place borders on four side of each item. 4. For double extra credit, install a background color to each item except for the blank item. Back to Misc Horizontal

Quick Quiz
1. It is impossible to control the space between boxes in a row. A. True B. False 2. It is not necessary to set the width of each item in order to customize the space between items in a row. A. True B. False Back to Misc Horizontal

Exercises
Back to Misc Flexbox Attributes

Quick Quiz
1. To change the order of items in a Flexbox row you have to "cut and paste" A. True B. False 2. You cannot make the height of items all the same in a row without customizing the height of each until they are equal. A. True B. False 3. Centering a tile in a box that is higher in pixels than the height of the font is very hard to achieve in Wikitext alone. A. True B. False Back to Misc Flexbox Attributes