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

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

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


2주차 숙제하려고 하다보니까

인덱스html 및 로그인html 이 제가 다른 작업을 하다가 일부 삭제 된 것 같아요

어덯게 해야 하나요?


인덱스 html

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

    <style>

        @import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');


        * {

            font-family: 'Gowun Dodum', sans-serif;

        }


        .mytitle {

            background-color: green;

            color: white;


            height: 250px;


            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://movie-phinf.pstatic.net/20210715_95/1626338192428gTnJl_JPEG/movie_image.jpg');

            background-position: center;

            background-size: cover;

        }


        .mytitle>button {

            width: 250px;

            height: 50px;


            background-color: transparent;


            border: 1px solid white;

            color: white;


            border-radius: 50px;


            margin-top: 20px;

        }


        .mytitle>button:hover {

            border: 2px solid white;

        }


        .mytitle {

            color: grey;

        }


        .mycards {

            width: 1200px;

            margin: 20px auto 20px auto;

        }


        .mypost {

            width: 500px;

            margin: 20px auto 20px auto;

            padding: 20px 20px 20px 20px;


            box-shadow: 0px 0px 3px 0px gray;

        }


        .mybtn {

            display: flex;

            flex-direction: row;

            align-items: center;

            justify-content: center;


            margin-top: 20px;

        }


        .mybtn>button {

            margin-right: 10px;

        }

    </style>


로그인html

<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- 타이틀 아직 고민중 -->

  <title>Document</title>

  <style>

    @import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

    * {

      /* 폰트 아직 고민중 */

      font-family: 'Jua', sans-serif;

    }

     .mytile {

        background-color: green;


        width: 300px;

        height: 200px;


        border-radius: 10px;

        color: white;


        text-align: center;


        padding: 30px 0px 0px 0px;


        background-image: url(https://www.ancient-origins.net/sites/default/files/field/image/Agesilaus-II-cover.jpg);

        background-position: center;

        background-size: cover;

     }

     .wrap {

        width: 300px;

        margin: 0px auto 0px auto;

     }

  </style>

</head>


<body>

  <div class="wrap">

    <div class="mytile">

      <h1 >로그인 페이지</h1>

      <h5>아이디, 비밀번호를 입력하세요

      </h5>

    </div>

    <p >ID : <input type="text" /></p>

    <p >Pw : <input type="text" /></p>

    <button>로그인하기</button>

  </div>

</body>

</html>







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