setTimeout and clearTimeout function
what are they?
The setTimeout function runs a function or a piece of code after waiting for a certain amount of time in milliseconds. It has three parameters: the function to run, the time to wait, and an optional callback function to run when the ti...