커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
floationinpot가 에러 뜹니다...
undefined주차
북마크
송*복
댓글
3
추천
0
조회수
7
조회수
7
답변 완료

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

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


제가 맞게 했는지도 모르겠어서.. 혹시 봐주실수 있을까요 ?



<!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=Nanum+Pen+Script&family=Noto+Serif+KR:wght@300&display=swap" rel="stylesheet">

    <style>

       * {
           font-family: 'Noto Serif KR', serif;
       }

        .mytitle {
            width: 100%;
            height: 550px;

            background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://s1.ticketm.net/dam/a/9c6/e83c76a4-409a-48ed-a707-999c92c049c6_1778711_TABLET_LANDSCAPE_LARGE_16_9.jpg');
            background-position: full;
            background-size: cover;

            color: pink;

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

       .card {

            width: 95%;
            max-width: 500px;
            margin: -400px;
       }

       .mypost {
            width: 95%;
            max-width: 500px;
            margin: 600px auto 450px auto;

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

       }

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

       .mypost {
           margin-top: 10px;

       }

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

       .mycards > .card {
           margin-top: 100px;
           margin-bottom: 10px;
       }

       </style>

</head>

<body>
        <div class="mytitle">
        <h1>BLACKPINK</h1>



            <div class="mypost">
                <div class="form-floating mb-3">
                    <input type="text" class="form-control" id="name" placeholder="url">
                    <label for="floatingInput">닉네임</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 class="card">
                <div class="mycards" id="comment-list">



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

                </div>
        </div>
        </div>
</body>

</html>




작성한 코드 및 에러 메세지

스파르타 즉문즉답

오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

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

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




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