-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
37 lines (37 loc) · 999 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>과제1</title>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="https://unpkg.com/@picocss/pico@1.*/css/pico.min.css"
/>
<style>
body {
padding: 20px;
}
h1 {
text-align: center;
}
</style>
</head>
<body>
<div id="root"></div>
</body>
<script src="https://unpkg.com/react@17.0.2/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script type="text/babel">
function App() {
return (
<div className="container">
<h1>🔥 Calculator 🔥</h1>
// 이 부분에 코드를 작성해 주시면 됩니다 (해당 주석은 지워 주세요!)
</div>
);
}
const root = document.getElementById('root');
ReactDOM.render(<App />, root);
</script>
</html>