the element li dissapears when is clicked, but h1 changes