Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 10 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,18 @@
[참고 내용]
## 네이버 메인 페이지 클론코딩

👀 자신이 원하는 사이트 레이아웃 클론
원하는 사이트(페이지)를 자유롭게 선택하고 레이아웃을 클론 코딩하세요.
평소에 도전해 보고 싶었거나 혹은 자신의 수준에 맞는 사이트(페이지)를 선택하세요.
과제 수행 및 리뷰 기간은 별도 공지를 참고하세요!
https://regal-frangipane-f310c3.netlify.app/<br/>

과제 수행 및 제출 방법
## 원본 페이지

1. 현재 저장소를 로컬에 클론(Clone)합니다.
2. 자신의 본명으로 브랜치를 생성합니다.(구분 가능하도록 본명을 꼭 파스칼케이스로 표시하세요, git branch KDT0_이름)
3. 자신의 본명 브랜치에서 과제를 수행합니다.
4. 과제 수행이 완료되면, 자신의 본명 브랜치를 원격 저장소에 푸시(Push)합니다.(main 브랜치에 푸시하지 않도록 꼭 주의하세요, git push origin KDT0_이름)
5. 저장소에서 main 브랜치를 대상으로 Pull Request 생성하면, 과제 제출이 완료됩니다!(E.g, main <== KDT0_이름)
실제 사이트 : https://www.naver.com/<br/>

## 사용 기술

- main 혹은 다른 사람의 브랜치로 절대 병합하지 않도록 주의하세요!
- Pull Request에서 보이는 설명을 다른 사람들이 이해하기 쉽도록 꼼꼼하게 작성하세요!
- Pull Request에서 과제 제출 후 절대 병합(Merge)하지 않도록 주의하세요!
- 과제 수행 및 제출 과정에서 문제가 발생한 경우, 바로 담당 멘토나 강사에서 얘기하세요!
1. HTML<br/>
2. CSS<br/>

필수 요구사항
## 구현한 내용

- 과제에 대한 설명을 포함한 README.md 파일을 제공하세요!
- 과제 결과와 비교할 수 있는 실제 사이트(페이지)의 주소를 명시하세요!
- 과정에서 사용한 프로젝트 폴더/파일이 모두 포함돼야 합니다, 일부 파일만 제출하지 마세요!
- 실제 서비스로 배포하고 접근 가능한 링크를 추가해야 합니다.
html과 css를 이용한 네이버 메인페이지 클론 코딩

선택 요구사항

- < header >, < section > 등 시멘틱 태그를 최대한 활용해보세요.
- 실제 사이트의 레거시 코드 활용보단 최신의 CSS Flex 혹은 Grid 등을 활용해보세요.
- 부분적으로 BEM 방법론을 도입해보세요.
- JS가 필요한 부분은 되도록 생략하되 이유를 명시해보세요.(CSS로 대체 가능한지 피드백이 있을 수 있겠죠?!)
- JS가 필요한 부분 중 구현할 부분이 있다면 자유롭게 구현해보세요.(JS 과제가 아니니까 가볍게 구현하시길 추천해요)

손쉬운 이미지 추출 방법

사이트 클론에 필요한 이미지를 좀 더 쉽게 추출하기 위해서 Chrome 확장 프로그램인 Image Downloader를 사용하세요.

1. 원하는 사이트 접속
2. Image Downloader 확장 프로그램 실행
3. 다운로드 원하는 이미지 선택
4. 서브 폴더 이름(Save to subfolder) 명시
5. 다운로드!
<br/>
Binary file added assets/after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon.ico
Binary file not shown.
Binary file added assets/footer/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/footer/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/footer/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/left-ad.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/news/5.png
Binary file added assets/news/6.png
Binary file added assets/news/7.png
Binary file added assets/news/8.png
Binary file added assets/news/9.png
Binary file added assets/right-ad.png
Binary file added assets/shopping/1.jpg
Binary file added assets/shopping/2.jpg
Binary file added assets/shopping/3.jpg
Binary file added assets/shopping/4.jpg
Binary file added assets/shopping/5.jpg
Binary file added assets/shopping/6.jpg
Binary file added assets/shopping/7.jpg
Binary file added assets/shopping/8.jpg
Binary file added assets/shopping/ad1.jpg
Binary file added assets/shopping/ad2.png
Binary file added assets/sp_main.png
Binary file added assets/sp_main2.png
Binary file added assets/stock.png
Binary file added assets/we.png
Binary file added assets/weather.png
338 changes: 338 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,338 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" type="image/x-icon" href="./assets/favicon.ico" />
<title>NAVER</title>
<link rel="stylesheet" href="styles/header.css" />
<link rel="stylesheet" href="styles/nav.css" />
<link rel="stylesheet" href="styles/main.css" />
<link rel="stylesheet" href="styles/footer.css" />
</head>
<body>
<div id="wrap">
<div id="wrap-center">
<div id="header">
<button id="header-hamburger">
<div></div>
</button>
<button id="header-naverpay">
<div></div>
</button>
<button id="header-notice">
<div></div>
</button>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

html 과 css 작업하실때는 id 로 작성하시는것은 최대한 지양 해주시면 좋을꺼같습니다~
id는 고유해서 개별 요소 별로 선택할때는 편하지만 추후 유지보수할때는 힘들어서 css 작업할때는 class 를 지향 해주시면 좋을꺼같습니다~

Copy link
Author

@minseokiim minseokiim Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 감사합니다!

</div>
<div id="search">
<form action="">
<a id="search-svg" href="#">
<svg
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.273 12.845 7.376 0H0v24h7.727V11.155L16.624 24H24V0h-7.727v12.845z"
/></svg></a>
<input
id="search-input"
type="text"
placeholder="검색어를 입력해 주세요."
/>
<div id="search-right">
<button href="#" id="search-keyboard">
</button>
<button href="#" id="search-recent">
</button>
<button id="search-button">
</button>
</div>
</form>
</div>

<nav id="nav">
<ul>
<li>
<a href="">
<div></div>
<span>메일</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>카페</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>블로그</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>쇼핑</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>뉴스</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>증권</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>부동산</span>
</li>
<li>
<a href="">
<div></div>
<span>지도</span>
</a>
</li>
<li>
<a href="">
<div></div>
<span>웹툰</span>
</a>
</li>
<li>
<a href="">
<div></div>
</a>
</li>
</ul>
</nav>


<main id="main">
<div id="main-left">
<img id="main-left-ad" src="./assets/left-ad.jpg"></img>

<section id="main-news">
<div id="main-news-top">
<header>
<a href="" ><strong>뉴스스탠드&nbsp; </strong></a>
<a href="" > <strong>• 언론사편집 /</strong></a>
<a href="" ><strong>&nbsp; 엔터 /</strong></a>
<a href="" ><strong>&nbsp; 스포츠 /</strong></a>
<a href="" ><strong>&nbsp; 경제</strong></a>
</header>

<div id="main-news-stand">
<span>
<a href="">전체언론사 ▼</a>
<a href=""> | 연합뉴스</a>
<a href=""> "'위험' 청주시 신고만 10번"…"수많은 기회 살린 기관 없었다"</a>

<span id="main-news-right">
<a href="">뉴스스탠드</a>
<a href="">| <strong>뉴스홈</strong></a>
</span>
</div>

<div id=main-news-grid>
<div><img src="./assets/news/1.png" id="main-news-image"></div>
<div><img src="./assets/news/2.png" id="main-news-image"></div>
<div><img src="./assets/news/3.png" id="main-news-image"></div>
<div><img src="./assets/news/4.png" id="main-news-image"></div>
<div><img src="./assets/news/5.png" id="main-news-image"></div>
<div><img src="./assets/news/6.png" id="main-news-image"></div>
<div><img src="./assets/news/7.png" id="main-news-image"></div>
<div><img src="./assets/news/8.png" id="main-news-image"></div>
<div><img src="./assets/news/9.png" id="main-news-image"></div>
<div><img src="./assets/news/10.png" id="main-news-image"></div>
<div><img src="./assets/news/11.png" id="main-news-image"></div>
<div><img src="./assets/news/12.png" id="main-news-image"></div>
<div><img src="./assets/news/13.png" id="main-news-image"></div>
<div><img src="./assets/news/14.png" id="main-news-image"></div>
<div><img src="./assets/news/15.png" id="main-news-image"></div>
<div><img src="./assets/news/16.png" id="main-news-image"></div>
<div><img src="./assets/news/17.png" id="main-news-image"></div>
<div><img src="./assets/news/18.png" id="main-news-image"></div>
<div><img src="./assets/news/1.png" id="main-news-image"></div>
<div><img src="./assets/news/20.png" id="main-news-image"></div>
<div><img src="./assets/news/21.png" id="main-news-image"></div>
<div><img src="./assets/news/22.png" id="main-news-image"></div>
<div><img src="./assets/news/23.png" id="main-news-image"></div>
<div><img src="./assets/news/24.png" id="main-news-image"></div>
</div>

</div>

<footer id="main-news-footer">
<img id="main-before" src="./assets/before.png"></img>
<strong id="main-news-page"><span>언론사</span> 더보기 1/4</strong>
<img id="main-before" src="./assets/after.png"></button>
</footer>
</section>

<section id="main-shopping">

<div id="main-shopping-top">
<header>
<a href="" > <strong>쇼핑 /</strong></strong></a>
<a href="" ><strong>&nbsp; 맨즈 /</strong></a>
<a href="" ><strong>&nbsp; 원쁠딜 /</strong></a>
<a href="" ><strong>&nbsp; 쇼핑라이브</strong></a>
</header>

<div id="main-shopping-stand">
<span>
<a href=""> <strong>오늘의 혜택</strong></a>
<a href=""> <img src="./assets/we.png" id="main-shopping-sm-image"></a>
<a href=""> 매일 00시, 슈퍼투데이특가 놓치면 후회할 <span>역대급할인!</span></a>
</span>
</div>

<div id="main-shop-box">
<div id="main-shopping-grid">
<div><img src="./assets/shopping/1.jpg" id="main-shopping-image">
<div class="main-shopping-text">만원대~여름코디<br/><br/>심플하고착한가격</div></div>
<div><img src="./assets/shopping/2.jpg" id="main-shopping-image">
<div class="main-shopping-text">상반기 결산SALE<br/><br/>BEST 최대71%↓</div></div>
<div><img src="./assets/shopping/3.jpg" id="main-shopping-image">
<div class="main-shopping-text">단정한핏~인기!<br/><br/>최대80%SALE시작</div></div>
<div><img src="./assets/shopping/4.jpg" id="main-shopping-image">
<div class="main-shopping-text">TIME SALE<br/><br/>바스락~ 롱원피스</div></div>
<div><img src="./assets/shopping/5.jpg" id="main-shopping-image">
<div class="main-shopping-text">아침에 광이나요<br/><br/>
붙이고 자버려요</div></div>
<div><img src="./assets/shopping/6.jpg" id="main-shopping-image">
<div class="main-shopping-text">1일1포 챙겨먹어<br/><br/> 1+1일때 쟁여</div></div>
<div><img src="./assets/shopping/7.jpg" id="main-shopping-image">
<div class="main-shopping-text">우유베개 1&1<br/><br/> 1만원 쿠폰!</div></div>
<div><img src="./assets/shopping/8.jpg" id="main-shopping-image">
<div class="main-shopping-text">역대급 50%특가<br/><br/> 인형키링 곰빵이!</div></div>
</div>
<div id=main-shop-left>
<div id="shop-first-box">
<a href=""><strong>쿠팡</strong></a>
<a href="">G마켓</a>
<a href="">옥션</a>
<a href="">11번가</a><br/>
<a href=""><strong>SSG닷컴</strong></a>
<a href="">올리브영</a>
<a href="">위메프</a>
<a href="">GS샵</a><br/>
<a href="">CJ온스타일</a>
<a href="">패션플러스</a>
<a href=""><strong>CJ더마켓</strong></a>
</div>
<div id="shop-second-box">
<div><div></div><a href="">N쇼핑홈</a></div>
<div><div>MY</div><a href=""><br/>MY홈</a></div>
<div><div></div><a href="">주문배송</a></div>
<div><div></div><a href=""><br/>N장바구니</a></div>

</div>

<div id="shop-third-box">
<img id="shop-third-left" src="./assets/shopping/ad1.jpg"></img>
<img id="shop-third-right" src="./assets/shopping/ad2.png"></img>
</div>

<div id="shop-last-text">#몽제 #1,250억돌파 #7월한정특가
바닥에서도 허리 완전 편해~</div>
</div>
</div>
<footer id="main-shopping-footer">
<img id="main-before" src="./assets/before.png"></img>
<strong id="main-news-page"><span>쇼핑아이템</span> 더보기 1/18</strong>
<img id="main-before" src="./assets/after.png"></button>
</footer>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 부분에 시맨틱 태크 활용이 조금 아쉬운거 같습니다 기본적으로 header 와 footer 는 페이지 단위로 생각해주시면 좋을꺼같습니다! 이부분을 개선한다면 header,footer 사용 대신 div 혹은 article 를 사용해주시면 좋을꺼같습니다~

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

피드백 주신대로 main안에 있는 footer들은 다 div태그로 수정했습니다. 감사합니다~

</section>
</div>

<div id="main-right">
<section id="main-login">
<div>네이버를 더 안전하고 편리하게 이용하세요.</div>
<a href="" id="main-login-button"><img/>로그인</a>
<div><a href="" >아이디 찾기</a>
<a href="">비밀번호 찾기</a>
<a href="">회원가입</a></div>
</section>

<img id="main-right-ad" src="./assets/right-ad.png" />
<img id="main-weather" src="./assets/weather.png"/>
<img id="main-stock" src="./assets/stock.png"/>
</div>
</main>

<footer id="footer-main" >
<div id="footer-ad">


<div><img id='footer-ad-image' src="./assets/footer/1.png"></div>
<div id="footer-big-box">
<div id="footer-box"><strong>네이버 커넥트 재단</strong></div>
<strong id="footer-text">유치원 여름방학, 뭐하세요?</strong>
<div id=footer-intro>무료교육앱 쥬니버스쿨과 놀면서 수학, 코딩 공부해요!</div>

</div>


<div><img id='footer-ad-image' src="./assets/footer/2.png"></div>
<div id="footer-big-box">
<div id="footer-box"><strong>쥬니버</strong></div>
<strong id="footer-text">차징탑스피너 채널 오픈 이벤트</strong>
<div id=footer-intro>피젯스피너와 팽이가 하나로!<br/>최애 영상 댓글 달면 선물로!</div>
</div>



<div><img id='footer-ad-image' src="./assets/footer/3.png"></div>
<div id="footer-big-box">
<div id="footer-box"><strong>네이버 개인정보 보호</strong></div>
<strong id="footer-text">정보보호의 달 릴레이 특강</strong>
<div id=footer-intro>7월 매주 수요일 11시<br/> 프라이버시TV에서 만나요!</div>

</div>
</div>
<div id="footer-list">
<ul>
<li>
<a>회사소개&nbsp;&nbsp;</a>
</li>
<li>
<a>인재채용&nbsp;&nbsp;</a>
</li>
<li>
<a >제휴제안&nbsp;&nbsp;</a>
</li>
<li>
<a>이용약관&nbsp;&nbsp;</a>
</li>
<li>
<a><strong>개인정보처리방침&nbsp;&nbsp;</strong></a>
</li>
<li>
<a>청소년보호정책&nbsp;&nbsp;</a>
</li>
<li>
<a>네이버 정책&nbsp;&nbsp;</a>
</li>
<li>
<div>고객센터&nbsp;&nbsp;</div>
</li>
<li>
<strong> ⓒ NAVER Corp.</strong>
</li>
</ul>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 부분에 코드가 ul 과 li가 같은 레벨에 있어 가독성이 많이 떨어집니다! 추후에는 코드 정렬부분도 한번 고민해주시면 좋을꺼같습니다~

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 코드정렬 해서 수정했습니다!

</footer>
</div></div>


</div>
</body>
</html>
Loading