+ 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.

26th Dec 2020, 12:14 PM
#It's Tony Stark
#It's Tony Stark - avatar
12 odpowiedzi
+ 6
Namit Jain [INACTIVE] 15 minutes passed but where is your code?
26th Dec 2020, 12:33 PM
#It's Tony Stark
#It's Tony Stark - avatar
+ 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..
26th Dec 2020, 12:23 PM
Steve Sajeev
Steve Sajeev - avatar
+ 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 ....
26th Dec 2020, 12:24 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 9
Give me 10 minutes, I am making
26th Dec 2020, 12:17 PM
Namit Jain
Namit Jain - avatar
+ 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
26th Dec 2020, 12:44 PM
Namit Jain
Namit Jain - avatar
+ 6
Namit Jain [INACTIVE] but it doesn't have a function for automatical exit after 39 seconds
26th Dec 2020, 12:48 PM
#It's Tony Stark
#It's Tony Stark - avatar
+ 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
26th Dec 2020, 12:55 PM
Namit Jain
Namit Jain - avatar
+ 3
#It's Tony Stark but in my device, the snowfall stops after 30 seconds.
26th Dec 2020, 12:49 PM
Namit Jain
Namit Jain - avatar
+ 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
26th Dec 2020, 12:52 PM
#It's Tony Stark
#It's Tony Stark - avatar
26th Dec 2020, 2:09 PM
Calviղ
Calviղ - avatar
0
Hellou are spik spnish
28th Dec 2020, 4:09 AM
Leveling
Leveling - avatar
0
Saben hablar in spanish
28th Dec 2020, 4:09 AM
Leveling
Leveling - avatar