Hour 7 Exercises

  1. Open your Bootstrap web page and add a list to the content. Try the different list classes to see whether there are any that work well in your design.
  2. Create a blockquote in your page to highlight a quotation.

Examples of different list classes.

A normal ordered list:

My favorite programming languages:
  1. JavaScript
  2. C
  3. Perl

The same ordered list, with the .list-unstyled class.

My favorite programming languages:
  1. JavaScript
  2. C
  3. Perl

The same ordered list, with the .list-inline class.

My favorite programming languages:
  1. JavaScript
  2. C
  3. Perl

A normal description list:

Things to drink:
Coffee
Black hot drink
Milk
White cold drink

The same description list with the .dl-horizontal class:

Things to drink:
Coffee
Black hot drink
Milk
White cold drink
Create a blockquote in your page to highlight a quotation.

Some succeed while others fail. This is a recognized fact; yet history tells us that seven-tenths of our most successful men began life poor. As our title indicates, we shall endeavor to show "why some succeed while others fail."

by H. A. LEWIS from "Hidden Treasures"

If one reads the life of Abraham Lincoln they are thoroughly convinced that the possibilities of our country are indeed very great. He was born in Hardin county, Kentucky, on the 14th day of February, 1809, of very poor parents, who lived in a log cabin.

by H. A. LEWIS from "Hidden Treasures"