Create a set of HTML/CSS elements and write a JavaScript function that toggles their visibility based on a user click.