-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (67 loc) · 1.51 KB
/
index.html
File metadata and controls
67 lines (67 loc) · 1.51 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>고양이 가라사대</title>
</head>
<style>
body {
text-align: center;
}
.main-card button {
position: relative;
left: -45px;
bottom: 15px;
}
.favorites {
list-style: none;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
}
.favorites img {
width: 150px;
}
</style>
<body>
<h1>1번째 고양이 가라사대</h1>
<form>
<input type="text" name="name" placeholder="영어 대사를 입력해주세요" />
<button type="submit">생성</button>
</form>
<div class="main-card">
<img
src="https://cataas.com/cat/HSENVDU4ZMqy7KQ0/says/react"
alt="고양이"
width="400"
/>
<button>🤍</button>
</div>
<ul class="favorites">
<li>
<img
src="https://cataas.com/cat/HSENVDU4ZMqy7KQ0/says/react"
alt="고양이"
/>
</li>
<li>
<img
src="https://cataas.com/cat/HSENVDU4ZMqy7KQ0/says/react"
alt="고양이"
/>
</li>
<li>
<img
src="https://cataas.com/cat/HSENVDU4ZMqy7KQ0/says/react"
alt="고양이"
/>
</li>
</ul>
<script>
console.log("야옹");
</script>
</body>
</html>