Just a quick code snippet to show how to show/hide html elements based on the active option in a select dropdown. It would be less jankey to apply a .hidden class with display:none and then change the class using jQuery. However a friend wanted to do this with just jQuery in RStudio (R is a programming language statisticians use, those nerds don’t like css) this was what I suggested.

See the Pen Show/Hide Element Based on Select, jQuery Only by Josh (@iamjoshellis) on CodePen.