코딩을 전혀 모르던 상태로 코딩을 접했다.
(로그인페이지 만드는 것을 첫과제로 잡았는데 비록 작동되지는 않지만 흥미로운 경험이었다. 나름 재밌어서 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>
'코딩' 카테고리의 다른 글
코딩교육 2주차(포스팅박스 열기 닫기 감추기 ) (0) | 2022.06.26 |
---|---|
코딩교육 2주차(이름도 생소한... JQuery) (0) | 2022.06.26 |
코딩의 기초!!! (0) | 2022.06.23 |
코딩교육 1주차(팬명록 만들기) (0) | 2022.06.23 |
코딩교육 1주차(영화 기록 사이트+맛집) (0) | 2022.06.23 |