๋ฐฑ์๋๋ง ๋ฐฐ์์ ํ๋ก ํธ์๋๋ ๋ฌธ์ธํ์ฌ ์ด๋ฒ์ ๊ธฐ์ด๋ฅผ ๋ค์ ธ๋ณด์ ํ๊ณ ์ฌ๋ฌ๊ฐ์ง๋ฅผ ๋ง๋ค๊ธฐ๋ก ํด๋ณด์๋ค.
- HTML / CSS / JS ๊ธฐ์ด๋ค์ง๊ธฐ (๋์ณค๋ ๊ฒ, ๋ชฐ๋๋๊ฑฐ ๋ณด์ถฉ)
- ๊ฒฐ๊ณผ๋ฌผ : ๋ฐฐ์ด๊ฒ๋ค ์งฌ๋ฝํด์ ํ์ ํ ์ผํํ๋งค ํ์ด์ง ํ์ชฝ์ ๋ง๋ค์ด๋ดค๋ค.
html์ PASS~!
๋์ค์ ์๋ก ์๊ฒ๋ ๋ถ๋ถ์ด ์์ผ๋ฉด ์ถ๊ฐํ๊ฒ ๋ค...
//ex) <h2>์๋
ํ์ธ์</h2> ์์ ๋ฐ๋ก '์๋
'์ด๋ผ๋ ํ
์คํธ๋ฅผ ๋ถ์ด๊ณ ์ถ๋ค.
<style>
h2 {
display:inline;
}
</style>
sol1) <br>ํ๊ทธ๊ฐ ์๋ฐ์...
sol2)
<style>
.newImg {
display:block;
margin:auto;
}
</style>
- @import styleํ๊ทธ ์์ ์ ๊ธฐ
๋๋์ ๋ค์ด๊ฐ์ ์ํ๋ ํฐํธ ์ ํ ํ, ์ฒดํฌ๋ ๊ณณ์ ๋๋ฌ์ ๋ณต์ฌํ๋ค.
๋ณต์ฌํ ๋ด์ฉ์ styleํ๊ทธ ์์ ์ ๊ณ , ์ ์ฒด ์คํ์ผ ์ ์ฉํ๋ฉด ๋!
<style>
@font-face { /*styleํ๊ทธ ์์ ์ ๊ณ */
font-family: 'SBAggroB';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* { /*์ ์ฒด ์คํ์ผ ์ ์ฉํ๋ฉด ๋!*/
font-family: 'SBAggroB';
}
</style>
<head> <!--head--> ์์ ์์ฑํ๊ณ
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100&display=swap" rel="stylesheet">
<style>
* { /*์ ์ฒด ์คํ์ผ ์ ์ฉํ๋ฉด ๋!*/
font-family: 'Noto Sans KR', sans-serif;
}
</style>
</head>
์ดํ์ ๋ ์ถ๊ฐํด์ผ์ง...
Pass~! python์ด๋ ๋๋ฌด ๋น์ทํจ...
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<title>SNSD_Concert</title>
<style>
@font-face {
font-family: 'EliceDigitalBaeum_Bold';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/EliceDigitalBaeum_Bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* {
font-family: 'EliceDigitalBaeum_Bold';
}
.wrap {
width:450px;
margin:20px auto 20px auto;
padding: 5px;
border: 2px double darkgrey;
border-radius: 3px;
}
.albumImg{
width:100%;
margin:auto;
display:block;
}
a:hover{
color:#c60063;
}
.itemTitle{
color:#FF69B4;
}
h4{
display: inline;
}
.orderBtn{
margin:auto;
display: block;
}
.priceSpan{
font-size: 14px;
}
</style>
<script>
function clickOrder(){
alert('์ฃผ๋ฌธ ์๋ฃ!')
}
</script>
</head>
<body>
<div class="wrap">
<img class="albumImg"
src="https://pds.joongang.co.kr//news/component/htmlphoto_mmdata/201710/11/f5c58ddf-b617-44c0-aa23-e70da084bbcf.jpg"><br>
<h4>[๊ณต์ฐ] <a class="itemTitle" href="https://www.smentertainment.com/Entertainment/ArtistProfile/305?Code=&Page=">์๋
์๋ โHoliday Nightโ</a></h4>
  <span class="priceSpan">๊ฐ๊ฒฉ:90,000</span>
<p><br>
K-Pop ์ฌ์์ ๊ทํ!<br>
15์ฃผ๋
๊ธฐ๋
๋ค์ฑ๋ก์ด ๋ฌด๋, ์ฆ๊ฒจ๋ณด์ธ์!<br>
์๋
์๋, ์ฝ๋ก๋ ์ดํ ์ฒซ ์ฝ์ํธ โHoliday Nightโ!<br>
</p>
<!--ํผํผ-->
<div>
<!--์ฃผ๋ฌธ์์ด๋ฆ์
๋ ฅ-->
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">์ด๋ฆ</span>
</div>
<input type="text" class="form-control" placeholder="์ฃผ๋ฌธ์ ์ด๋ฆ์ ์
๋ ฅํ์ธ์" aria-label="Username"
aria-describedby="basic-addon1">
</div>
<!--์ข์ dropdown-->
<div class="input-group mb-3">
<div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01">์ข์</label>
</div>
<select class="custom-select" id="inputGroupSelect01">
<option selected>-- ์ข์์ ์ ํํ์ธ์ --</option>
<option value="1">์คํ ๋ฉ์ (+60,000)</option>
<option value="2">2์ธต (+30,000)</option>
<option value="3">3์ธต (+0)</option>
</select>
</div>
<!--์ฃผ์ ์
๋ ฅ-->
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon2">์ฃผ์</span>
</div>
<input type="text" class="form-control" placeholder="ํฐ์ผ์ ์๋ นํ ์ฃผ์๋ฅผ ์
๋ ฅํ์ธ์" aria-label="Username"
aria-describedby="basic-addon2">
</div>
<!--๋ฒํผ-->
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon3">์ ํ๋ฒํธ</span>
</div>
<input type="text" class="form-control" placeholder="์ ํ๋ฒํธ๋ฅผ ์
๋ ฅํ์ธ์" aria-label="Username"
aria-describedby="basic-addon3">
</div>
<button type="submit" onclick="clickOrder()" class="orderBtn btn btn-outline-danger">์ฃผ๋ฌธํ๊ธฐ</button>
</div>
</div>
</body>
</html>