use hidden class to hide elements and make it reusable