
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<title>2주차 과제 | 팬명록</title>
<link href="https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Do+Hyeon&display=swap" rel="stylesheet">
<style>
* {
font-family: 'Do Hyeon', sans-serif;
}
.mytitle {
height: 300px;
width: 100%;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url("https://w.namu.la/s/abaaaccc45c44e03f0b63f3b832b3f2b1d1e83544987bc42aed92c75a1ff709b639b2c85f9c3cdfac7fe1f143f7c45f6e6ac8161fb642f7fa5d7c9896d9af8c87018221c3e61c004a26a915f2681ede0461b39f1b0d4e60a1bc47e500d01e389bedd3f296f5d33cde7b9d354b7800392");
background-position: center;
background-size: cover;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.mypost {
max-width: 500px;
width: 95%;
margin: 20px auto 20px auto;
box-shadow: 0px 0px 3px 0px black;
padding: 20px;
}
.mypost > .mybtn {
margin-top: 20px;
}
.mybtn {
display: flex;
flex-direction: row;
justify-content: left;
align-items: center;
margin-top: 20px;
}
.mycards{
max-width: 500px;
width: 95%;
margin: auto;
}
.mycards > .card {
margin-top: 10px;
margin-button: 10px;
}
</style>
</head>
<body>
<div class="mytitle">
<h1>십센치(10cm) 팬명록</h1>
</div>
<div class="mypost">
<div class="form-floating mb-3">
<input type="text" class="form-control" id="name" placeholder="Leave a comment here">
<label for="name">닉네임</label>
</div>
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a comment here" id="comment"
style="height:100px;">
</textarea>
<label for="comment">응원댓글</label>
</div>
<div class="mybtn">
<button type="button" class="btn btn-dark">응원 남기기</button>
</div>
</div>
<div class="mycards" id="comment-list">
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>응원의 댓글 짝짝짝</p>
<footer class="blockquote-footer">세균맨</footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>응원의 댓글 짝짝짝</p>
<footer class="blockquote-footer">세균맨</footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>응원의 댓글 짝짝짝</p>
<footer class="blockquote-footer">세균맨</footer>
</blockquote>
</div>
</div>
</div>
</body>
</html>
22.11.30 업데이트_실시간 서울 날씨 정보 API 제공