1주차 과제 비교

Created Diff never expires
63 removals
106 lines
62 additions
111 lines
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<html lang="en">

<head>
<head>
<meta charset="UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0">


<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
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://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"
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
crossorigin="anonymous"></script>


<title>초미니홈피 - 팬명록</title>
<title>팬명록</title>
<link href="https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap" rel="stylesheet">


<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&display=swap" rel="stylesheet">
<style>
<style>
* {
* {
font-family: 'Noto Serif KR', serif;
font-family: 'Do Hyeon', sans-serif;
}
}
.mypic {
.mytitle {
width: 100%;
width: 100%;
height: 300px;
height: 250px;


background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://cdn.topstarnews.net/news/photo/201807/456143_108614_510.jpg');
/* 배경화면 이미지 삼형제 */
background-position: center 30%;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://image.genie.co.kr/Y/IMAGE/IMG_MUZICAT/IV2/Genie_Magazine/10378/Mgz_Sub_EVT_20210623163827.jpg);
background-size: cover;
background-size: cover;
background-position: center 40%;


color: white;
color: white;


/* 상자(나) 안 내용물 가운데 정렬하기 4형제 */
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
justify-content: center;
justify-content: center;
align-items: center;
}
}

.mypost {
.mypost {
width: 95%;
box-shadow: 0px 0px 5px 0px gray;
max-width: 500px;
max-width: 500px;
width: 95%;

margin: 20px auto 20px auto;
margin: 20px auto 20px auto;

box-shadow: 0px 0px 3px 0px black;
padding: 20px;
padding: 20px;
}
}

.post-buttons {
.mypost > button {
margin-top: 15px;
margin-top: 15px;
}
}

.fan-comment {
.mycards {
width: 95%;
max-width: 500px;
max-width: 500px;
margin: auto;
width: 95%;

margin: 10px auto;
}
}

.card {
.mycards > .card {
margin: 10px auto 10px auto;
margin-top: 10px;
margin-bottom: 10px;
}
}
</style>
</style>
</head>
</head>

<body>
<body>
<div class="mypic">
<div class="mytitle">
<h1>십센치(10cm) 팬명록</h1>
<h3>LA POEM</h3>
<h1>라포엠 팬명록</h1>
<!-- <p>라포엠</p>-->
</div>
<div class="mypost">
<div class="form-floating mb-3">
<input type="email" class="form-control" id="floatingInput" placeholder="name@example.com">
<label for="floatingInput">닉네임</label>
</div>
</div>
<div class="mypost">
<div class="form-floating">
<div class="form-floating mb-3">
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2"
<input type="text" class="form-control" id="name" placeholder="url">
style="height: 100px"></textarea>
<label for="floatingInput">닉네임</label>
<label for="floatingTextarea2">응원댓글</label>
</div>
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a comment here" id="comment"
style="height: 100px"></textarea>
<label for="floatingTextarea2">응원댓글</label>
</div>
<button onclick="save_comment()" type="button" class="btn btn-dark">응원 남기기</button>
</div>
</div>
<div class="mycards" id="comment-list">
<div class="post-buttons">
<div class="card">
<button type="button" class="btn btn-dark">응원 남기기</button>
<div class="card-body">
</div>
<blockquote class="blockquote mb-0">
</div>
<p>새로운 앨범 너무 멋져요!</p>
<div class="fan-comment">
<footer class="blockquote-footer">호빵맨</footer>
<div class="card">
</blockquote>
<div class="card-body">
</div>
<blockquote class="blockquote mb-0">
<p>새로운 앨범 너무 멋져요!</p>
<footer class="blockquote-footer">호빵맨</footer>
</blockquote>
</div>
</div>
<div class="card">
</div>
<div class="card-body">
<div class="card">
<blockquote class="blockquote mb-0">
<div class="card-body">
<p>새로운 앨범 너무 멋져요!</p>
<blockquote class="blockquote mb-0">
<footer class="blockquote-footer">호빵맨</footer>
<p>내가 성악을 찾아 듣게 되다니...</p>
</blockquote>
<footer class="blockquote-footer">책임져</footer>
</div>
</blockquote>
</div>
</div>
<div class="card">
</div>
<div class="card-body">
<div class="card">
<blockquote class="blockquote mb-0">
<div class="card-body">
<p>새로운 앨범 너무 멋져요!</p>
<blockquote class="blockquote mb-0">
<footer class="blockquote-footer">호빵맨</footer>
<p>날이 갈수록 귀티가 흐르는군요</p>
</blockquote>
<footer class="blockquote-footer">오래가자</footer>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>

</body>
</body>

</html>
</html>