본문 바로가기

코딩

코딩교육 1주차(팬명록 만들기)

1주차의 마지막이다.

그동안 배운 내용을 토대로 이무진님의 팬명록을 만들어보았다 ㅎㅎ

배운지 얼마 안 됐음에도 검은 화면을 마주하고나니 너무 막막했다 ㅜ

하지만 차근차근 해결해나가다보니 그리 어렵지 않게 해결할 수 있었다 ㅎㅎㅎㅎㅎ

<!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;
        }

        .mytitle {
            color: white;
            background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://img-lb.joynews24.com/image_joy/202012/1608537951892_1_172552.jpg");
            background-size: 100%;
            background-position: center 20%;
            width: 100%;
            height: 300px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .postbox {
            border-radius: 10px;
            box-shadow: 0px 0px 3px 0px black;
            width: 500px;
            height: 300px;
            padding: 20px;
            margin: 20px auto 20px auto;
        }

        .buttons {
            margin-top: 20px;
            display: flex;
            flex-direction: row;
            justify-content: right;
        }

        .card-body {
            border-radius: 10px;
            box-shadow: 0px 0px 3px 0px black;
            width: 500px;
            margin: 20px auto 20px auto;
        }
    </style>

</head>

<body>
<div class="mytitle">
    <h1>이무진 팬명록</h1>
</div>
<div class="postbox">
    <div class="mypost">
        <div class="row row-cols-1 row-cols-md-1 g-4">
            <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>
        </div>
        <div class="buttons">
            <button type="button" class="btn btn-secondary">응원 남기기</button>
        </div>
    </div>
</div>

<div class="card-body">
    <blockquote class="blockquote mb-0">
        <p>새로운 앨범 짱이에여</p>
        <footer class="blockquote-footer"> 은평구 고라니
            <ite title="Source Title"></cite>
        </footer>
    </blockquote>
</div>
<div class="card-body">
    <blockquote class="blockquote mb-0">
        <p>새로운 앨범 짱이에여</p>
        <footer class="blockquote-footer"> 은평구 고라니
            <ite title="Source Title"></cite>
        </footer>
    </blockquote>
</div>
<div class="card-body">
    <blockquote class="blockquote mb-0">
        <p>새로운 앨범 짱이에여</p>
        <footer class="blockquote-footer"> 은평구 고라니
            <ite title="Source Title"></cite>
        </footer>
    </blockquote>
</div>

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

</html>