На держи , ток нужно будет сыллки на картинки самому вставить
Начало кода
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Genius Academy</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-color: #f2f9f0;
}
header {
background-color: #2e8b57;
color: white;
padding: 10px 20px;
text-align: center;
}
header img {
width: 50px;
vertical-align: middle;
}
header h1 {
display: inline;
margin-left: 10px;
font-size: 2em;
}
nav {
background-color: #4caf50;
text-align: center;
padding: 10px 0;
}
nav a {
color: white;
text-decoration: none;
margin: 0 20px;
font-size: 1em;
}
.container {
display: flex;
padding: 20px;
justify-content: space-between;
flex-wrap: wrap;
}
.main, .about, .courses {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
margin-bottom: 20px;
}
h2 {
margin-bottom: 10px;
color: #2e8b57;
}
p {
margin-bottom: 10px;
color: #333;
line-height: 1.6;
}
.contact-form {
background: white;
padding: 20px;
border-radius: 10px;
width: 100%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
.contact-form button {
background-color: #4caf50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.social-icons {
display: flex;
justify-content: center;
margin: 20px 0;
}
.social-icons img {
width: 30px;
margin: 0 10px;
}
footer {
background-color: #4caf50;
color: white;
text-align: center;
padding: 10px 0;
}
.image-container {
text-align: center;
}
.image-container img {
width: 150px;
height: auto;
}
</style>
</head>
<body>
<!-- Header -->
<header>
<img src="https://via.placeholder.com/50" alt="logo">
<h1>GENIUS Academy</h1>
<p>School of programming</p>
</header>
<!-- Navigation -->
<nav>
<a href="#">Main</a>
<a href="#">About us</a>
<a href="#">Courses</a>
<a href="#">Contacts</a>
</nav>
<!-- Main Section -->
<div class="container">
<div class="main">
<h2>MAIN</h2>
<p><strong>Lorem</strong> ipsum dolor sit amet consectetur adipisicing elit...</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsam ex voluptatem repellendus...</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit...</p>
</div>
<!-- Contact Us Form -->
<div class="contact-form">
<h2>Contact us</h2>
<form>
<input type="text" placeholder="Name">
<input type="email" placeholder="Email">
<textarea placeholder="Message" rows="5"></textarea>
<button type="submit">Send</button>
</form>
</div>
</div>
<!-- About Us -->
<div class="container">
<div class="about">
<h2>ABOUT US</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit...</p>
</div>
</div>
<!-- Courses -->
<div class="container">
<div class="courses">
<h2>COURSES</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit...</p>
</div>
</div>
<!-- Social Icons -->
<div class="social-icons">
<img src="https://via.placeholder.com/30" alt="Facebook">
<img src="https://via.placeholder.com/30" alt="Instagram">
<img src="https://via.placeholder.com/30" alt="WhatsApp">
</div>
<!-- Child Image -->
<div class="image-container">
<img src="https://via.placeholder.com/150" alt="Child">
</div>
<!-- Footer -->
<footer>
<p>© 2024 GENIUS Academy. All rights reserved.</p>
</footer>
</body>
</html>
Конец кода