코딩

코딩 교육 1주차(로그인페이지 만들기)

엽쩝 2022. 6. 23. 11:20

코딩을 전혀 모르던 상태로 코딩을 접했다.

(로그인페이지 만드는 것을 첫과제로 잡았는데 비록 작동되지는 않지만 흥미로운 경험이었다. 나름 재밌어서 3개 제작 ㅎㅎ)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>로그인 페이지</title>
    <style>
        .mytitle{
            width: 300px;
            height: 200px;
            color:blue;
            text-align: center;
            background-image: url("https://www.ancient-origins.net/sites/default/files/field/image/Agesilaus-II-cover.jpg");
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            padding-top: 40px;
        }
        .wrap{
            width: 300px;
            margin: auto;
        }
    </style>
</head>
<body>
    <div class="wrap">
        <div class="mytitle">
            <h1>로그인 페이지</h1>
            <h5>아이디, 비밀번호를 입력해주세요.</h5>
        </div>
        <p>ID: <input type="text"/></p>
        <p>PW: <input type="text"/></p>
        <button>로그인하기</button>
    </div>
</body>
</html>




<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>로그인을 해주세요</title>
    <link href="https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap" rel="stylesheet">
    <style>
        *{
            font-family: 'Nanum Pen Script', cursive;
        }
        .mytitle1{
            color:black;
            background-image: url("https://pbs.twimg.com/profile_images/770139154898382848/ndFg-IDH_400x400.jpg");
            background-position: center;
            background-size: cover;
            border-radius: 10px;
            width:300px;
            height:200px;
            text-align: center;
            padding-top: 100px;
        }
        .wrap1{
            width:300px;
            margin: auto;
        }
    </style>
</head>
<body>
    <div class="wrap1">
        <div class="mytitle1">
            <h1>로그인을 해주세요</h1>
            <h5>아이디, 비밀번호를 입력해주세요</h5>
        </div>
            <p>ID: <input type="text"/></p>
            <p>PW: <input type="text"/><div>
            <button>로그인하기</button>
    </div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>로그인 페이지입니다</title>
    <link href="https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap" rel="stylesheet">
    <style>
       *{font-family: 'Nanum Pen Script', cursive;}
        .mytitle{
            background-image: URL("https://pbs.twimg.com/profile_images/770139154898382848/ndFg-IDH_400x400.jpg");
            background-position: center;
            background-size: cover;
            max-width: 400px;
            width:95%;
            height: 300px;
            text-align: center;
            padding-top: 200px;
            color: blue;
        }
        .all{
            max-width:400px;
            width:95%;
            margin: auto;

        }
    </style>
</head>
<body>
<div class="all">
    <div class="mytitle">
        <h1>로그인을 하십시오</h1>
        <h5>아이디와 비밀번호를 입력하십시오</h5>
    </div>
    <P>ID: <input type="text"/></P>
    <P>PW: <input type="text"/></P>
    <button>로그인하기</button>
</div>
</body>


</html>