Created
November 23, 2018 08:31
-
-
Save anton-gorbikov/b356d616295612c0ac242450c3e0d95a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<script type="text/javascript"> | |
setTimeout(function() { | |
'use strict'; | |
var node = document.getElementById('toRemove'); | |
node.classList.add('test'); | |
node.parentNode.removeChild(node); | |
}, 5000); | |
</script> | |
</head> | |
<body> | |
<div> | |
<span> | |
<div></div> | |
<div></div> | |
</span> | |
<span> | |
<div id="toRemove">asdf</div> | |
<div></div> | |
</span> | |
<span> | |
<div></div> | |
<div></div> | |
</span> | |
</div> | |
<div> | |
<span> | |
<div></div> | |
<div></div> | |
</span> | |
<span> | |
<div></div> | |
<div></div> | |
</span> | |
<span> | |
<div></div> | |
<div></div> | |
</span> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment