Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const timeout = (link) => {
- link.classList.remove('hide');
- link.classList.add('show');
- };
- const main = () => {
- const link = document.getElementById('myLink');
- setTimeout(timeout, 5000, link );
- };
- document.addEventListener('DOMContentLoaded', main, true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement