react web game : react lifecycle

This commit is contained in:
haerong22
2021-03-05 22:51:33 +09:00
parent e106c78dbf
commit 165b4e4fd6
20 changed files with 6247 additions and 32 deletions

View File

@@ -1,28 +1,17 @@
<html>
<head>
<meta charset="utf-8"/>
<title>반응속도체크</title>
<style>
#screen {
width: 300px;
<head>
<meta charset="utf-8" />
<title>반응속도체크</title>
<style>
#computer {
width: 142px;
height: 200px;
text-align: center;
user-select: none;
}
#screen.waiting {
background-color: aqua;
}
#screen.ready {
background-color: red;
color: white;
}
#screen.now {
background-color: greenyellow;
}
</style>
</head>
<body>
<div id="root"></div>
<script src="./dist/app.js"></script>
</body>
</html>
background-position: 0 0;
}
</style>
</head>
<body>
<div id="root"></div>
<script src="./dist/app.js"></script>
</body>
</html>