Alyssa's Bootstrap Exercise Answers

  1. Adding the table class to the table element separates rows of data with a border line.
  2. The padding property of the body tag selector alters the left- and right-sided margins of the text. The first set of two numbers increases the white space to the right of the text, and the second set increases the margin to the left of the text.
  3. Selector:.table td
  4. .table selects elements whose class attribute contains the value table
  5. The font-weight property is responsible for making the th element's contents bold
  6. Adding the value table-striped to the class attribute for the table element results in a striping effect wherein each row in the table alternates between gray and white/two different background colors.
  7. The part of the selector of the previous rule used to make the table row striped is .table-striped tbody tr:nth-of-type-odd.
  8. Adding the background-color rgb(244,106,31) property to the th selector in the style element made the top row of the table orange.
  9. The property and value used to cause the th cells to be displayed in all capital letters is text.transform:uppercase;
  10. Properties associated with h1 elements specified by Bootstrap:
    Properties specified by Chrome:
  11. The two properties Bootstrap specifies for elements with the class lead attached are font-size and font-weight
  12. Adding a class attribute with the value float-right to the div element moves the image to the right side of the document and alters the paragraph format so that the text lies adjacent to the image, rather than beginning underneath.
  13. A new rule added to the style element using a class selector that adds a margin in units of pixels to any element tagged with the class float-right is
    .float-right {
    margin-left:_px;
    }
  14. The CSS properies used to make the changes done by adding a class attribute with the value img.thumbnail to the img element are the padding and border properties.
  15. The body tag selector specified the values for the font-family and font-size properties associated with the p element, which was edited to contain the URL in the word 'here' by wrapping the URL in the a element.
  16. Changing the p element containing the author's name to a cite element with the class small puts the wrapped text in italic and reduced its font size.
  17. Surrounding both paragraphs with a single blockquote element with the class blockquote emphasized the wrap text by englarging the font and line-spacing.
  18. Unicode character 2014 is called EmDash and adds a long dash, not a hyphen, before the citation.