Can somebody help me! I am doing a game , i have insert a door (image) ,what can i do , if i click the door the door would open? | Sololearn: Learn to code for FREE!

+4

Can somebody help me! I am doing a game , i have insert a door (image) ,what can i do , if i click the door the door would open?

1/3/2021 2:19:30 PM

Riselda Rada

7 Answers

New Answer

+4

Riselda Rada We can do in javasript using an door image an onclick function , also some css and styling in js :) This can help :- Just click on door https://code.sololearn.com/WQifCIED61ro/?ref=app

+5

David Ordás I think I deleted the code if you have same problem then you can dm me πŸ˜….

+4

David Ordás now i have fixed it . Thank you anyway for trying to helpπŸ‘πŸ»β˜ΊοΈ

+3

Thank you . You did it so great!πŸ‘πŸ»

+3

David Ordás that link that you sended me was really good . Thanks

+2

Tejas , the linked code has disappeared. Could you fix it?

+2

Riselda Rada or with only CSS3 animations Take a look at: https://code.sololearn.com/W44Pb8T0UECu/?ref=app combining with :hover selector