Hello there,
This is happening because of the settimeout function, you need to create another function and then call settimeout from there.
I would like to be considered for this job as I have great working experience in HTML, CSS and JavaScript/jQuery development.
Thanks,
Ramesh