Skip to content

Instantly share code, notes, and snippets.

@SkyLightQP
Last active May 7, 2021 13:52
Show Gist options
  • Save SkyLightQP/bd78fb5f4f67fe4cd4df14847b5121dc to your computer and use it in GitHub Desktop.
Save SkyLightQP/bd78fb5f4f67fe4cd4df14847b5121dc to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
body {
overflow: hidden;
padding: 0;
margin: 0;
background-color: #1a7dae;
color: white;
font-family: "맑은 고딕";
}
.a {
font-size: 200px;
margin: 0;
}
h1 {
font-weight: normal;
}
div {
margin-top: 10%;
margin-left: 20%;
}
</style>
</head>
<body>
<div>
<h1 class="a">:(</h1>
<h1>
PC에 문제가 발생하여 다시 시작해야 합니다. 일부 오류<br />정보를
수집하고 있습니다. 그런 다음 자동으로 다시<br />
시작합니다.(<span class="n">0</span>% 완료)
</h1>
<p>
자세한 내용을 보려면 나중에 온라인에서 이 오류를 검색할 수 있습니다.
MEMORY_MANAGMENT
</p>
</div>
<script>
var a = document.querySelector(".n");
(async () => {
const t = (d) =>
new Promise((q, p) => {
setTimeout(() => {
q();
}, d);
});
for (var i = 1; i <= 100; i++) {
await t(Math.random() * (10000 - 1000) + 1000);
a.innerHTML = i;
}
})();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment