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

Рогова Марина исп-215 готово #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
готово
  • Loading branch information
Maribel committed Oct 5, 2022
commit c774c4488e4a7bf933c3ad81f9109a5c0b1c2ffc
65 changes: 65 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<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">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body style="font-family:Arial Black">
<header class="header">
<h1 class="center">What do I have in my fridge?</h1>
</header>
<main class="main">
<section class="section">
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/paprika.png" alt="">
<h3 class="center">Pepper</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/apple.png" alt="">
<h3 class="center">Apple</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/cheese.png" alt="">
<h3 class="center">Cheese</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/corn.png" alt="">
<h3 class="center">Corn</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/mushroom.png" alt="">
<h3 class="center">Mushroom</h3>
</div>
</section>
<section class="section">
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/garlic.png" alt="">
<h3 class="center">Garlik</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/steak-medium.png" alt="">
<h3 class="center">Beef</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/fish.png" alt="">
<h3 class="center">Fish</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/offices/344/sunny-side-up-eggs.png" alt="">
<h3 class="center">Eggs</h3>
</div>
<div class="main__fridge">
<img src="https://img.icons8.com/external-flaticons-lineal-color-flat-icons/344/external-coriander-world-cuisine-flaticons-lineal-color-flat-icons-3.png" alt="">
<h3 class="center">Coriander</h3>
</div>
</section>
</main>
<hr>
<footer>
<h3 class="center">...that's all...</h3>
</footer>
</body>
</html>
31 changes: 31 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.center {
text-align: center;
}
.section {
display: flex;
justify-content: space-around;
margin: 50px;
}
.main__fridge {
width: 200px;
height: 288px;
display: flex;
justify-content: space-around;
flex-direction: column;
border: 2px solid silver;
border-radius: 35px;
}
.main__fridge > img {
width: 150px;
height: 150px;
margin: 20px auto 0 auto;
}
h1 {
margin-bottom: 20px;
}
hr {
margin: 0 5%;
}
header {
margin-top: 60px;
}