show and hide elements in page using basic JS and CSS selectors