Quiz

  1. Why do we have to hide the modal after we are done using it?

    Good question. We don't, but typically a modal is used for a brief but important interaction with the user, and then goes away. But your application might be different.

  2. Are there any best practices we should be aware of that make updating our sites to future versions of Bootstrap easier?

    I'm sure the Bootstrap people try to make things compatible, but I know that, for example, they renamed "panels" (BS3) to "cards" (BS4), so they certainly aren't going out of their way.

    In general, anytime you "buy into" some software, even HTML, CSS and JavaScript, you're commmitting to having to update your pages if the languages change in some incompatible way.

    This is true of jQuery, Bootstrap, and everything.

    But older versions are likely to work for a long time, so don't worry too much about this issue.