Formula
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>General Store</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<div class="logo">
<h1>General Store</h1>
</div>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#about">About Us</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<section id="home" class="hero-section">
<h2>Welcome to the General Store</h2>
<p>Your one-stop shop for all your needs.</p>
</section>
<section id="products" class="product-section">
<h2>Our Products</h2>
<div class="product-grid">
<div class="product-item">
<img src="product1.jpg" alt="Product 1">
<h3>Product 1</h3>
<p>Description of product 1.</p>
<button>Add to Cart</button>
</div>
<div class="product-item">
<img src="product2.jpg" alt="Product 2">
<h3>Product 2</h3>
<p>Description of product 2.</p>
<button>Add to Cart</button>
</div>
<div class="product-item">
<img src="product3.jpg" alt="Product 3">
<h3>Product 3</h3>
<p>Description of product 3.</p>
<button>Add to Cart</button>
</div>
<!-- Add more products as needed -->
</div>
</section>
<section id="about" class="about-section">
<h2>About Us</h2>
<p>We are a small general store dedicated to providing quality products at affordable prices.</p>
</section>
<section id="contact" class="contact-section">
<h2>Contact Us</h2>
<form action="#" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
<button type="submit">Send</button>
</form>
</section>
<footer>
<p>© 2024 General Store. All rights reserved.</p>
</footer>
</body>
</html>1 Answer
1 year ago by Raushan kumar Raushan
hlo
1 year ago by Raushan kumar Raushan