03. HTML Display πŸ‘©β€πŸŽ“πŸ‘¨β€πŸŽ“

Display

For this activity you will work with a partner to resolve issues within the given code:

Instructions

  • Fix the given code so that:
    • All three list items in the navigation bar should display inline.
    • All three boxes are visible.
    • Each box appeara centered and on its own line.

If successfule your code should look like the following:

Three list items are displayed on the right side of the navigation bar, corresponding with three boxes centered on the page.

πŸ’‘ Hints

Which display value hides an element?


πŸ† Bonus

If you have completed this activity, work through the following challenge with your partner to further your knowledge:

  • What is the CSS visibility property? How is it different from the display property?

Use Google or another search engine to research this.


βœ… Solutions

Solutions Click Here