커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
아이유 방명록) '새로운 앨범이 너무 멋져요'칸 위에 저만 회색줄이 있어요.
undefined주차
북마크
김*희
댓글
5
추천
0
조회수
8
조회수
8
답변 완료

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

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


강의 화면에는 '새로운 앨범 너무 멋져요' 이 칸 안에가 다 흰색이에요.

그런데 저는 '새로운 앨범 너무 멋져요' 위에가 회색 줄이 있어요.

강의 정답 HTML이랑 비교해서 맨 아래 my card아래에 <div class="card-header">를 삭제하면 네모선이 사라져요.

어떻게 해야 할까요?




스파르타 즉문즉답


스파르타 즉문즉답
<!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>
      .mytitle {
        background-color: green;
        width: 100%;
        height: 250px;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://cdn.spotvnews.co.kr/news/photo/201901/257725_316827_0451.jpg");
        background-position: center 40%;
        background-size: cover;
      }
      .mypost {

            max-width: 500px;
            width: 95%;
            margin: 20px auto 0px auto;
            padding: 20px;
            box-shadow: 0px  0px 3px 0px gray;
      }
      .mypost > button {
        margin-top: 10px;
      }
      .mycards {
            max-width: 500px;
            width: 95%;
            margin: 20px auto 0px auto;
      }
    </style>
</head>
<body>
    <div class="mytitle">
      <h1>아이유 팬명록</h1>
    </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 class="form-floating">
              <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2"
                        style="height: 100px">응원댓글</textarea>
              <label for="floatingTextarea2"></label>
              </div>
      <button type="button" class="btn btn-dark">응원남기기</button>


        </div>
<div class="mycards">
        <div class="card">
          <div class="card-header">

          </div>
          <div class="card-body">
            <blockquote class="blockquote mb-0">
              <p>새로운 앨범 너무 멋져요!</p>
              <footer class="blockquote-footer">호빵맨 </footer>
            </blockquote>
          </div>
        </div>
</div>
</body>
</html>






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