+ 14
Can anyone make a web page which will have snow falling and it will be automatically closed after 30 seconds?
I don't want to copy your code but I want to learn the logic.please try it and if you can't make it , don't worry but don't forget to like and share this question so that others can answer it.
15 Respostas
+ 6
Namit Jain [INACTIVE] 15 minutes passed but where is your code?
+ 13
I am not actually having time to make a code. But I want to share the knowledge.
There are multiple ways you can do this.
The way I think is cool:
-LOGIC-
make a html canvas
In each frame draw a circle onto the canvas and add a bit if movement to the snow. (I HOPE YOU KNOW THIS). Then make a function that changes the display property of canvas to none. So that canvas disappears.
Call the function after 30 seconds using setTimeout()
.
Hope it helps..
+ 13
#It's Tony Stark If you are looking for readymade codes , U will find it in the CODES section .Even if you didn't get the exact one , with basic web knowledge , you can edit it ....
+ 9
Give me 10 minutes, I am making
+ 8
Here it is
I was trying to make a code that you can understand easily and even change the values if you want
https://code.sololearn.com/Wa2A25A2a23a/?ref=app
+ 6
Namit Jain [INACTIVE] but it doesn't have a function for automatical exit after 39 seconds
+ 4
#It's Tony Stark
I didn't understand đ€
I don't know any such feature that closes the webpage
Can you be a bit more clear
+ 3
#It's Tony Stark but in my device, the snowfall stops after 30 seconds.
+ 3
Namit Jain [INACTIVE] I don't want the snow falls stop but want a code means webpage which will be automatically closed after 30 seconds
0
Hellou are spik spnish
0
Saben hablar in spanish