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

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

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


맨 아래 부분에 새로운 앨범이 너무 멋져요 글상자 부분들 간격을 띄우고 싶은데

정답대로 똑같이 따라해도 간격이 띄어지지가 않아요



스파르타 즉문즉답




작성한 코드 및 에러 메세지

<!doctype html>
<html lang="en">

<head>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <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>
</head>

<style>
   * {
       font-family: 'Nanum Pen Script', cursive; }

   .mytitle {

       height: 300px;
       width: 100%;

       background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://img.etnews.com/photonews/1108/168793_20110816141547_265_0001.jpg");
       background-position: center;
       background-size: cover;

       color: white;

       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
   }

    .card_style{

        width: 95%;
        max-width: 400px;
        margin: 20px auto 0 auto;

    }
    .card-style > card {
        margin-top:10px;
        margin-bottom:10px;
    }
   .box{
        width:95%;
        max-width:400px;
        margin: 20px auto 0 auto;

       box-shadow : 0 0 3px 0 black;
       padding : 20px;
       color : gray;


   }
.box> .mymiddle {
    margin-top : 10px;
    margin-bottom : 10px;
}

.mymiddle > button {
    margin-top : 10px;
}



</style>

<body>
     <div class="mytitle">
        <h1>10 cm팬명록</h1>
     </div>

      <div class = "box">

         <div class="mymiddle">

             <input type="email" class="form-control" id="exampleFormControlInput1" placeholder="닉네임">
         </div>
         <div class="mymiddle">

             <textarea class="form-control" id="exampleFormControlTextarea1" rows="3">응원댓글</textarea>
             <button type="button" class="btn btn-dark">응원남기기</button>

         </div>
</div>
<div class = "card_style">
<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>오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!




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