How to show one div and hide others on click interaction

How to show one div and hider others on click
I’m trying to make something similar to here the link
my idea is to have an explanation of phone parts but in an animated way
if you in one div will be shown but if you click on other div will hide all and show one
i share my link what ive done for now
hope you guys could help me

Here is my public share link: