Untitled
4 years ago in Plain Text
<html>
<head>
<title>Test-website</title>
<style>
.test_button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
border-radius: 5px;
left: 50%;
top: 50%;
}
.center {
text-align: center;
vertical-align: center;
}
</style>
<script>
function crash() {
while (true) {
console.log(1);
}
}
</script>
</head>
<body>
<div class="center">
<button class="test_button" onclick="crash()">Crash this site!</button>
</div>
</body>
</html>