-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ 1주차 기본/심화/생각 과제 ] 웨비의 사진관과 가계부 #3
base: main
Are you sure you want to change the base?
Changes from all commits
f0808d5
496a9d0
f3ccae1
4c5a749
817d781
20f5144
f009da3
e8a03f8
81b2181
8a311a9
e5e0b5b
bd817d6
a827692
60ac2b1
bce4082
caa9027
17e9151
8781204
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<!DOCTYPE html> | ||
<html lang="ko"> | ||
<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"> | ||
<link rel="stylesheet" href="style.css"/> | ||
<title>1차세미나 사진관 과제</title> | ||
</head> | ||
<body> | ||
<header id="body-title"><h1>김밍밍 인 뉴욕</h1></header> | ||
|
||
<!--preview--> | ||
<section class="preview"> | ||
<img src="wk1/01.png" alt="UnitedPlatesofAmerica"> | ||
<img src="wk1/02.png" alt="핑크 건물"> | ||
<img src="wk2/02.png" alt="자유의여신상 레고"> | ||
<img src="wk3/01.png" alt="도서관 팻말"> | ||
<img src="wk3/02.png" alt="미국 플래그"> | ||
<img src="wk1/04.png" alt="리틀아일랜드"> | ||
</section> | ||
|
||
<!--네비게이션--> | ||
<nav> | ||
<span>category</span> | ||
<ul> | ||
<li><a href="#category-1">[1] 뉴욕은 낭만이 넘치는 도시에요</a></li> | ||
<li><a href="#category-2">[2] 가을맞이에 한창인 뉴욕</a></li> | ||
<li><a href="#category-3">[3] 애증의 뉴욕 이놈자식 그래도 사랑해</a></li> | ||
</ul> | ||
</nav> | ||
|
||
<!--category1--> | ||
<section class="section-1"> | ||
<h4 id="category-1">뉴욕은 낭만이 넘치는 도시에요</h4> | ||
Comment on lines
+34
to
+35
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. section-1, category-1보다는 각 내용에 맞게 의미를 가진 이름으로 명명해볼까요 ?! 의미를 띈 이름으로 class, id를 명명해주어야 추후 유지보수와 가독성에 좋은 습관이랍니당 ex) newyork-section |
||
<div class="images-1"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 여기도 마찬가지 !! |
||
<img src="wk1/02.png" alt="핑크 건물"> | ||
<img src="wk1/08.png" alt="인턴 촬영지"> | ||
<img src="wk1/03.png" alt="휘트니 뮤지엄"> | ||
<img src="wk1/04.png" alt="리틀 아일랜드"> | ||
<img src="wk1/05.png" alt="휘트니 뮤지엄"> | ||
<img src="wk1/11.png" alt="무지개 베이글"> | ||
<img src="wk1/09.png" alt="조 피자"> | ||
<img src="wk1/10.png" alt="스파이더맨"> | ||
<img src="wk1/01.png" alt="UnitedPlatesofAmerica"> | ||
</div> | ||
</section> | ||
|
||
<!--category2--> | ||
<section class="section-2"> | ||
<h4 id="category-2">가을맞이에 한창인 뉴욕</h4> | ||
<div class="images-2"> | ||
<div class="images-2-left"> | ||
<img src="wk2/04.png"> | ||
</div> | ||
<div class="images-2-right"> | ||
<img src="wk2/06.png" alt="플라자호텔"> | ||
<img src="wk2/01.png" alt="피크닉"> | ||
<img src="wk2/09.png" alt="호박"> | ||
<img src="wk2/07.png" alt="가을 센팍"> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<!--category3--> | ||
<section class="section-3"> | ||
<h4 id="category-3">애증의 뉴욕 이놈자식 그래도 사랑해</h4> | ||
<div class="container-3"> | ||
<img src="wk3/10.png" alt="브루클린 파크"> | ||
<img src="wk3/12.png" alt="타임스퀘어"> | ||
<img src="wk3/03.png" alt="브루클린 브릿지"> | ||
<img src="wk3/11.png" alt="하트"> | ||
<img src="wk3/01.png" alt="도서관 팻말"> | ||
<!-- 원하는 만큼 이미지 추가 --> | ||
</div> | ||
</section> | ||
<a href="#body-title"> | ||
<button id="button-top">TOP</button> | ||
</a> | ||
<!--footer--> | ||
<footer> | ||
<span>© 뉴욕에서 두 달 살면서 찍은 사진이에요**</span> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
.flexbox01{ | ||
flex-wrap:wrap; | ||
white-space: nowrap; | ||
/* 아이템의 너비 설정 (여기서는 3개로 나눔) */ | ||
display: flex; | ||
flex-direction: row; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 요건 default 값이라 명시해주지 않아도 되지 않나용? |
||
} | ||
.sec01item { | ||
width:200px; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
height:300px; | ||
justify-content: center; | ||
gap:10px; | ||
position: relative; | ||
} | ||
.big{ | ||
width:50%; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
header,footer 제외하고 main으로 감싸주면 좀 더 시맨틱하겠죵 !