Question: how to change the background color of navbar?
Answer: navbar-light: This class will set the color of the text to dark. This is used when using a light background color.
navbar-dark: This class will set the color of the text to light. This is used when using a dark background color.