-
Notifications
You must be signed in to change notification settings - Fork 4
[당근마켓 클론코딩] 류승찬 미션 제출합니다. #4
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
base: main
Are you sure you want to change the base?
Changes from 16 commits
bf14e19
e0fb2a6
6013ad0
6059e52
0817b44
8976262
0e6f69c
595ad28
a97b97b
6e5a7dc
aa1a281
7692a8a
123b417
c2a6dae
824d4b7
6fba34c
7243c00
c545396
7d8d966
aadd72b
6b530df
1b78cf8
fd81d50
3a76bb5
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 |
|---|---|---|
| @@ -1,9 +1,105 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>당근마켓 클론</title> | ||
| </head> | ||
| <body> | ||
| </html> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>당근마켓 클론</title> | ||
| <link rel="stylesheet" type="text/css" href="style.css"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header> | ||
| <div class="container1"> | ||
| <a class="item" href="./index.html"><img src="../assets/logo.png" width="75px" height="43px" id="logo"></a> | ||
| <a class="item" id="trade" href="./tradepage.html"><b>중고거래</b></a> | ||
| <div class="item"><b>동네업체</b></div> | ||
| <div class="item"><b>알바</b></div> | ||
| <div class="item"><b>부동산</b></div> | ||
| <div class="item"><b>중고차 직거래</b></div> | ||
| </div> | ||
| <div class="container2"> | ||
| <input type="text" placeholder="물품이나 동네를 검색해보세요"> | ||
| <input type="button" value="채팅하기"> | ||
| </div> | ||
| </header> | ||
|
|
||
| <section id="sec1"> | ||
| <div> | ||
| <h1>당신 근처의<br>지역 생활 커뮤니티</h1> | ||
| <p><br>동네라서 가능한 모든 것<br>당근에서 가까운 이웃과 함께해요.<br></p> | ||
| <input type="button" value=" Google Play" style="background-image: url(../assets/GooglePlay.png);"> | ||
| <input type="button" value=" App Store" style="background-image: url(../assets/AppStore.png); background-position:31px;"> | ||
| </div> | ||
| <div> | ||
| <img src="../assets/mascort.png" height="700px" style="position:absolute; top: 0;"> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section id="sec2"> | ||
| <div> | ||
| <img src="../assets/section1.png" height="700px" style="position:relative; top:-200px;"> | ||
| </div> | ||
| <div> | ||
| <p style="color:#FF6F0F; font-weight:bold;">중고거래<br><br></p> | ||
| <h1 style="font-size:45px;">믿을만한<br>이웃 간 중고거래</h1> | ||
| <p><br>동네 주민들과 가깝고 따뜻한 거래를<br>지금 경험해보세요.<br><br></p> | ||
|
||
| <input type="button" value="인기매물 보기"> | ||
| <input type="button" value="믿을 수 있는 중고거래"> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section id="sec3"> | ||
| <div> | ||
| <p style="color:#FF6F0F; font-weight:bold;">동네생활<br><br></p> | ||
| <h1 style="font-size:45px;">이웃만 아는<br>동네 정보와 이야기</h1> | ||
| <p><br>우리동네의 다양한 정보와 이야기를<br>공감과 댓글로 나누어요.<br></p> | ||
| <div class="picpr"> | ||
| <div class="pic" style="background-image:url(../assets/circle.png); background-size: cover;"></div> | ||
| <div class="pic" style="background-image:url(../assets/question.png); background-size: cover;"></div> | ||
| <div class="pic" style="background-image:url(../assets/lost.png); background-size:40px; background-repeat: no-repeat; background-position:5px;"></div> | ||
|
||
| </div> | ||
| <div class="picname"> | ||
| <p>동네모임</p> | ||
| <p>동네질문</p> | ||
| <p>동네분실센터</p> | ||
| </div> | ||
| <div class="picinfo"> | ||
| <p>근처 이웃들과 동네<br>이야기를 해보세요.</p> | ||
| <p>궁금한 게 있을 땐<br>이웃에 물어보세요.</p> | ||
| <p>무언가를 잃어버렸다면<br>글을 올려보세요.</p> | ||
| </div> | ||
| </div> | ||
| <div> | ||
| <img src="../assets/section2.png" height="700px" style="position:relative; top: -200px; right:200px;"> | ||
| </div> | ||
| </section> | ||
| <section id="sec4"> | ||
| <div> | ||
| <img src="../assets/section3.png" height="700px" style="position:relative; top:-200px;"> | ||
| </div> | ||
|
|
||
| <div> | ||
| <p style="color:#FF6F0F; font-weight:bold;">알바<br><br></p> | ||
| <h1 style="font-size:45px;">걸어서 10분!<br>동네 알바 구하기</h1> | ||
| <p><br>당근하듯 쉽고, 편하게<br>당근 알바로 동네 알바를 구할 수 있어요.<br><br></p> | ||
| <input type="button" value="내근처 알바 보기"> | ||
| </div> | ||
|
|
||
| </section> | ||
|
|
||
| <section id="sec5"> | ||
| <div> | ||
| <p style="color:#FF6F0F; font-weight:bold;">동네업체<br><br></p> | ||
| <h1 style="font-size:45px;">내 근처에서 찾는<br>동네업체</h1> | ||
| <p><br>이웃들의 추천 후기를 확인하고<br>동네 곳곳의 업체들을 찾을 수 있어요.<br><br></p> | ||
| <input type="button" value="당근 동네업체 보기"> | ||
| </div> | ||
| <div> | ||
| <img src="../assets/section4.png" height="700px" style="position:relative; top: -550px; left:400px;"> | ||
|
||
| </div> | ||
| </section> | ||
|
|
||
| </body> | ||
|
|
||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,24 @@ | ||
| // 화이팅.. | ||
| // -> ㅠㅠ | ||
|
|
||
| function list() { | ||
| fetch('data.json').then(function (response) { | ||
| return response.json(); | ||
| }).then(function (obj) { | ||
| const container = document.querySelector('#imgcontainer'); | ||
| let content = ''; | ||
|
|
||
| obj.data.map((item) => { | ||
| content += ` | ||
| <div id="items"> | ||
| <img src="${item.img}" alt="${item.name}"> | ||
| <h2>${item.name}</h2> | ||
| <div> 999,999원 </div> | ||
| <p>${item.address}</p> | ||
| </div> | ||
| `; | ||
| }); | ||
|
|
||
| container.innerHTML = content; | ||
| }); | ||
| } |
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.
인라인 스타일은 지양해주세요~
밑에도 다 고쳐주세용