커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
숙제가 제대로 안되네요
undefined주차
북마크
유*성
댓글
15
추천
0
조회수
26
조회수
26
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


설명과 강의자료에 따라 작성했는데 제대로 안되네요

<!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>초미니홈피 - 팬명록</title>
    <link href="https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap" rel="stylesheet">
<style>
    * {
        font-family: 'Gowun Dodum', sans-serif;
    }
    .mypic{
        width: 100%;
        height: 300px;
        color: white;
        text-align: center;
        background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT8w-1pcWc-sD-HNkWdmSaocRqXkFQORnIzUQ&usqp=CAU);
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mypost{
        width: 95%;
        max-width: 500px;
        margin: 20px auto 20px auto;
        box-shadow: 0px 0px 3px 0px black;
        padding: 20px;

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

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

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

<body>
<DIV class ="mypic">
    <h1>장사익 팬명록</h1>
</DIV>
<div class="mypost">
    <div class="form-floating mb-3">
        <input type="text" class="form-control" id="floatingInput" placeholder="url">
        <label for="floatingInput">닉네임</label>
        </div>
        <div class="form-floating">
            <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"></textarea>
            <label for="floatingTextarea">응원댓글</label>
        </div>
        <button onclick="save_comment()" type="button" class="btn btn-dark">응원 남기기</button>
</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 class="card">
  <div class="card-body">
    <blockquote class="blockquote mb-0">
      <p>새로운 앨범 너무 멋져요!</p>
      <footer class="blockquote-footer">호빵맨</footer>
    </blockquote>
  </div>
<div class="card">
  <div class="card-body">
    <blockquote class="blockquote mb-0">
      <p>새로운 앨범 너무 멋져요!</p>
      <footer class="blockquote-footer">호빵맨</footer>
    </blockquote>
  </div>


</body>

</html>



스파르타 즉문즉답







취소
 공유
취소
댓글 0
댓글 알림
나의얼굴