Skip to content
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

[함예진] Sprint1 #61

Merged
Merged
Show file tree
Hide file tree
Changes from all 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
Empty file added faq.html
Empty file.
Binary file added images/bottom-banner-image.png
Copy link
Collaborator

Choose a reason for hiding this comment

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

파일명 잘 지었네요 ! 딱 봐도 어떤 이미지인지 알겠어요 👍

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/facebook-logo.svg
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 images/favicon.ico
Binary file not shown.
Binary file added images/feature1-image.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 images/feature2-image.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 images/feature3-image.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 images/hero-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/instagram-logo.svg
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 images/panda-market-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/twitter-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/youtube-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
99 changes: 99 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<!DOCTYPE html>
<head>
Copy link
Collaborator

Choose a reason for hiding this comment

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

<html> 태그가 빠진 것으로 보여요 !

Suggested change
<head>
<html>
<head>

Copy link
Collaborator

Choose a reason for hiding this comment

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

<html>는 필수적으로 넣으셔야 합니다 !

<title>판다마켓</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="icon" href="images/favicon.ico">
<link rel="stylesheet" href="styles.css">
</head>

<body>
<header>
<a href="/">
<img src="images/panda-market-logo.png" width="153">
Copy link
Collaborator

Choose a reason for hiding this comment

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

alt를 작성해볼까요?

alt는 스크린 리더 사용자에 대한 보조 텍스트가 될 수 있으므로 "어떠한 이미지 인지"를 작성해주는 것이 좋아요 !
꼭 작성하시는걸 �제안드립니다 !

alt의 목적

  • 인터넷 연결이 끊겼을 때 대체되는 이미지
  • 스크린 리더 사용자를 위한 대체 텍스트
  • 이미지를 볼 수 없는 환경에서 이미지를 대체하기 위한 텍스트
    등 목적을 알게 된다면 alt를 어떻게 사용하시면 될지 알 수 있을 것 같아요.

다음은 하버드 에듀케이션에서 제안하는 alt 규칙입니다:

tl;dr

  • Write Good Alt Text
  • Add alt text all non-decorative images.
  • Keep it short and descriptive, like a tweet.
  • Don’t include “image of” or “photo of”.
  • Leave alt text blank if the image is purely decorative
  • It's not necessary to add text in the Title field.

원문 보기

</a>
<a href="sigin.html" id="sign-button" class="button">로그인</a>
</header>

<main>
<section id="top" class="banner">
<div class="wrapper">
<h1>
일상의 모든 물건을<br>
거래해 보세요
</h1>
<a href="items.html" class="button">구경하러 가기</a>
</div>
</section>

<section id="features" class="wrapper">
<div class="feature">
<img src="images/feature1-image.png" width="50%">
<div class="feature-content">
<h2 class="feature-name">Hot item</h2>
<h1>인기 상품을<br>
확인해 보세요</h1>
<p class="feature-explanation">
가장 HOT한 중고거래<br>
판다마켓에서 확인해 보세요
</p>
</div>
</div>
<div class="feature">
<div class="feature-content">
<h2 class="feature-name">Search</h2>
<h1>구매를 원하는<br>
상품을 검색하세요</h1>
<p class="feature-explanation">
구매하고 싶은 물품은 검색해서<br>
쉽게 찾아보세요
</p>
</div>
<img src="images/feature2-image.png" width="50%">
</div>
<div class="feature">
<div class="feature-content">
<h2 class="feature-name">Register</h2>
<h1>판매를 원하는<br>
상품을 등록하세요</h1>
<p class="feature-explanation">
어떤 물건이든 판매하고 싶은 상품을<br>
쉽게 등록하세요
</p>
</div>
<img src="images/feature3-image.png" width="50%">
</div>
</section>

<section id="bottom" class="banner">
<div class="wrapper">
<h1>믿을 수 있는<br>
판다마켓 중고거래
</h1>
</div>
</section>
</main>

<footer>
<div>©codeit - 2024</div>
<div id="Menu">
<a href="privacy.html">Privacy Policy</a>
<a href="faq.html">FAQ</a>
</div>
<div id="social">
<a href="https://www.facebook.com/" target="_blank">
<img src="images/facebook-logo.svg" alt="페이스북" width="20">
</a>
<a href="https://twitter.com/" target="_blank">
<img src="images/twitter-logo.svg" alt="트위터" width="20">
</a>
<a href="https://www.youtube.com/" target="_blank">
<img src="images/youtube-logo.svg" alt="유튜브" width="20">
</a>
<a href="https://www.instagram.com/" target="_blank">
<img src="images/instagram-logo.svg" alt="인스타그램" width="20">
</a>
</div>
</footer>
</body>

Empty file added items.html
Empty file.
Empty file added privacy.html
Empty file.
Empty file added sigin.html
Empty file.
136 changes: 136 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

header {
width: 100%;
height: 70px;
padding: 0 200px;
background-color: #ffffff;
display: flex;
align-items: center;
border-bottom: 1px solid #dfdfdf;
justify-content: space-between;
}

.button {
background-color: #3692ff;
color: #ffffff;
font-size: 20px;
font-weight: 700;
border-radius: 999px;
padding: 16px 126px;
display: inline-flex;
align-items: center;
justify-content: center;
}

.button:hover {
background-color: #1967d6;
}

#sign-button {
Copy link
Collaborator

Choose a reason for hiding this comment

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

네이밍을 일관적으로 작성하시는게 어떨까요?

파스칼 케이스, �케밥 케이스, 카멜케이스 등 여러가지 섞여있는 것 같아요. 네이밍을 일관적으로 작성하시는게 어떨까요 ?

border-radius: 8px;
padding: 14.5px 43px;
font-size: 16px;
font-weight: 600;
}

body {
color: #374151;
font-family: "Pretendard", sans-serif;
}

.banner {
background-color: #cfe5ff;
height: 540px;
display: flex;
background-size: 55%;
align-items: center;
background-position: 80% bottom;
margin-top: 32px;
}

.wrapper {
max-width: 1200px;
margin: 0 auto;
width: 100%;
}

#features {
padding-bottom: 138px;
}

.feature {
padding: 138px 0;
display: flex;
align-items: center;
gap: 5%;
}

.feature-content {
flex: 1;
}

.feature-name {
color: #3692ff;
margin-bottom: 12px;
font-size: 18px;
font-weight: 700;
line-height: 25px;
}

.feature-explanation {
margin-top: 24px;
font-size: 24px;
line-height: 120%;
font-weight: 500;
}

#top {
background-image: url("images/hero-image.png");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

a {
text-decoration: none;
color: inherit;
}
Comment on lines +99 to +102
Copy link
Collaborator

Choose a reason for hiding this comment

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

reset.css를 작성하셔도 될 것 같아요.

해당 스타일은 reset.css 파일을 만들어서 작성하셔도 될 것 같아요 =)


h1 {
font-size: 40px;
font-weight: 700;
line-height: 56px;
}

#bottom {
background-image: url("images/bottom-banner-image.png");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

footer {
padding: 32px 200px 108px 200px;
font-size: 16px;
background-color: #111827;
color: #9ca3af;
display: flex;
align-items: center;
justify-content: space-between;
}

#Menu {
display: flex;
gap: 30px;
color: #e5e7eb;
}

#social {
display: flex;
gap: 12px;
}
Loading