Project Description
The project is to create a website for Green Earth, a company that specializes in eco-friendly products. The website should have the following features:
Pages
1. *Home*:
A welcome page that introduces the company and its mission.
2. *About*:
A page that provides more information about the company and its values.
3. *Products*:
A page that showcases the company's products.
4. *Contact*:
A page that provides contact information and a form for customers to get in touch.
HTML Structure
We'll use basic HTML structure for this project, including:
1. *Header*:
A header section that includes the company logo and navigation menu.
2. *Main*:
A main section that includes the content of each page.
3. *Footer*:
A footer section that includes copyright information and social media links.
HTML Code
Here's a sample HTML code for the Home page:
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Green Earth</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<main>
<h1>Welcome to Green Earth</h1>
<p>We specialize in eco-friendly products that help reduce your carbon footprint.</p>
</main>
<footer>
<p>© 2023 Green Earth</p>
<ul>
<li><a href="#" target="_blank">Facebook</a></li>
<li><a href="#" target="_blank">Twitter</a></li>
<li><a href="#" target="_blank">Instagram</a></li>
</ul>
</footer>
</body>
</html>
```
CSS Styling
We'll use CSS to add styles to our HTML structure. Here's a sample CSS code:
```
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
}
nav li {
display: inline-block;
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
}
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 2em;
}
footer {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
clear: both;
}
```
This project provides a basic structure for a website and demonstrates how to use HTML and CSS to create a simple web page. You can add more features and styles as needed.