Skip to content

Commit

Permalink
Merge pull request #2 from DO-SOPT-WEB/Week1-4
Browse files Browse the repository at this point in the history
[1μ£Όμ°¨ κΈ°λ³Έ/μƒκ°κ³Όμ œ] λ‹€ν˜„μ΄μ˜ 가계뢀 πŸ’Έ #2
  • Loading branch information
moondda authored Oct 24, 2023
2 parents 01e4460 + d26f5cf commit 273053b
Show file tree
Hide file tree
Showing 26 changed files with 259 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
75 changes: 75 additions & 0 deletions 1μ£Όμ°¨/4.가계뢀/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css">
<title>가계뢀</title>
</head>
<body>
<header>λ‹€ν˜„μ΄μ˜ 가계뢀</header>
<div class="my-account">
<div class="inner">
<div class="inner-1">λ‚˜μ˜ μžμ‚°</div>
<div class="inner-2">2000723</div>
<div class="inner-3">
<div style="color: red;">+30000</div>
<div style="color:blue">-500000</div>
</div>
</div>
</div>
<div class="list-header-1"> < 10μ›” 1일 > </div>
<div class="list-header-2">
<div class="title">λ‚΄μ—­ 리슀트</div>
<div class="button">
<input type="checkbox" checked>μˆ˜μž…</input> <!-- checked둜 default -->
</div>
<div class="button">
<input type="checkbox" checked>μ§€μΆœ</input>
</div>
</div>
<section class="list-real">

<ul class="list-indiv">
<li class="category">식비</li>
<li class="content">버거킹 λ¬Έμ •μ—­</li>
<li class="price">-10800</li>
<li class="x">x</li>
</ul>

<ul class="list-indiv">
<li class="category">μ·¨λ―Έ</li>
<li class="content">ν¬ν† κ·Έλ ˆμ΄κ°•λ‚¨2호첨</li>
<li class="price">-5000</li>
<li class="x">x</li>
</ul>

<ul class="list-indiv">
<li class="category">식비</li>
<li class="content">λ‚΄κ°€μ°œν•œλ‹­</li>
<li class="price">-18000</li>
<li class="x">x</li>
</ul>


<ul class="list-indiv">
<li class="category">μ›”κΈ‰</li>
<li class="content">꼰떼넨떼</li>
<li class="price" style="color: red;">+7000000</li>
<li class="x">x</li>
</ul>

<ul class="list-indiv">
<li class="category">μ·¨λ―Έ</li>
<li class="content">μΈν„°νŒŒν¬</li>
<li class="price">-110000</li>
<li class="x">x</li>
</ul>

</section>
<footer class="list-add">
<div class="button">+</div>
</footer>
<script src="./script.js"></script>
</body>
</html>
25 changes: 25 additions & 0 deletions 1μ£Όμ°¨/4.가계뢀/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const INIT_BALANCE = 0;
const HISTORY_LIST = {
0: {
category : "식비",
main : '버거킹',
price : 10800
},
1: {
category : "식비2",
main : '버거킹',
price : 10800
},
2: {
category : "식비3",
main : '버거킹',
price : 10800
},
3: {
category : "식비4",
main : '버거킹',
price : 10800
},
}

let balance = document.querySelectorAll('category');
142 changes: 142 additions & 0 deletions 1μ£Όμ°¨/4.가계뢀/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
body {
border: 0;
}

header {
width: 100%;
height: 50px;
line-height: 50px; /*글씨가 μ„Έλ‘œ κΈ°μ€€ κ°€μš΄λ°μ— 였게*/
text-align: center; /*글씨가 κ°€λ‘œ κΈ°μ€€ κ°€μš΄λ°μ— 였게*/
font-size: 25px;
font-weight: bold;
background-color: bisque;
}

.my-account {
height: 150px;
display: flex;
align-items: center;
}

.my-account .inner {
height: 110px;
width: 80%;
margin: 0 auto; /*λ°•μŠ€ κ°€λ‘œ 쀑앙정렬 */
background-color: bisque;
border-radius: 30px;
text-align: center; /*글씨 κ°€μš΄λ° μ •λ ¬*/
border: 5px solid salmon;
padding: 5px;
}

.inner-1 {
margin-top: 3px;
line-height: 30px;
font-size: 15px;
font-weight: bold;
}

.inner-2 {
line-height: 60px;
font-size: 30px;
font-weight: bold;
}

.inner-3 {
display: flex;
justify-content: space-around;
}

.list-header-1 {
height: 35px;
line-height: 35px;
font-size: 18px;
font-weight: bold;
text-align: center;
}

.list-header-2 {
display: flex;
margin: 0 15px;
height: 35px;
line-height: 35px;
}

.list-header-2 .title {
width: 60%;
font-weight: bold;
}

.list-header-2 .button {
width: 20%;
border-radius: 5px;
color: white;
background-color: salmon;
margin: 0 5px;
text-align: center;
}

.list-real {
display: flex;
flex-direction: column;
align-items: center;
height: 300px;
padding: 10px 0;
overflow-y: scroll;
}

.list-real ul {
list-style-type: none;
}

.list-add {
height: 50px;
}

.list-indiv {
display: flex;
align-items: center;
flex-shrink: 0; /*크기 μžλ™μ‘°μ • μ•ˆλ˜κ²Œ */
width: 300px;
height: 50px;
background-color: bisque;
border: 1px solid salmon;
border-radius: 15px;
margin: 10px 0;
padding: 0 3%;
}

.list-indiv .category {
font-size: 13px;
width: 10%;
}
.list-indiv .content {
width: 55%;
padding-left: 5%;
font-weight: bold;
}
.list-indiv .price {
font-size: 14px;
width: 25%;
color: blue;
}

.x {
align-self: flex-start;
}

.list-add {
display: flex;
justify-content: center;
background-color: gainsboro;
}

.list-add .button {
height: 100%;
line-height: 50px;
width: 20%;
border-radius: 20px;
font-size: 40px;
text-align: center;
background-color: salmon;
}
17 changes: 17 additions & 0 deletions 1μ£Όμ°¨/μƒκ°κ³Όμ œ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- μ›Ή 접근성은 λ¬΄μ—‡μΌκΉŒ? <br>
μž₯애인, 고령자 등이 μ›Ή μ‚¬μ΄νŠΈμ—μ„œ μ œκ³΅ν•˜λŠ” 정보에 λΉ„μž₯애인과 λ™λ“±ν•˜κ²Œ μ ‘κ·Όν•˜κ³  이해할 수 μžˆλ„λ‘ 보μž₯ν•˜λŠ” 것이라 ν•©λ‹ˆλ‹€.


- 접근성을 μœ„ν•œ κ°œλ°œμ€ μ–΄λ–€ 것듀이 μžˆμ„κΉŒ? <br>
μ‹œλ§¨ν‹± ꡬ쑰λ₯Ό 잘 μ΄μš©ν•˜λŠ” 것
이미지 νƒœκ·Έ μ“Έλ•Œ alt λ„£λŠ” 것

- 접근성을 μœ„ν•œ κ°œλ°œμ„ κΌ­ ν•΄μ•Ό ν• κΉŒ? <br>
더 λ§Žμ€ μœ μ € μœ μž…μ„ μœ„ν•΄ ν•„μš”ν•˜λ‹€κ³  μƒκ°ν•œλ‹€.또 μ‹ λ’°μ„± λΆ€λΆ„μ—μ„œλ„ μ’‹λ‹€κ³  μƒκ°ν•œλ‹€.


- 검색엔진 μ΅œμ ν™”λ₯Ό ν•˜λŠ” λ°©λ²•μ—λŠ” 무엇이 μžˆμ„κΉŒ? <br>
검색 κ²°κ³Όκ°€ 상단에 μœ„μΉ˜ ν•  수 있게 μ΅œμ ν™”ν•˜λŠ” ν”„λ‘œμ„ΈμŠ€λ₯Ό 검색엔진 μ΅œμ ν™”λΌκ³  ν•œλ‹€.<br>
직관적인 λ„€λΉ„κ²Œμ΄μ…˜ λ§Œλ“€κΈ°<br>
메타데이터 λͺ…ν™•ν•˜κ²Œ μž‘μ„±ν•˜κΈ°<br>
의미 μžˆλŠ” URL 등이 SEOλ₯Ό λ•λŠ”λ‹€κ³  ν•œλ‹€

0 comments on commit 273053b

Please sign in to comment.