TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

Talha Shahzeb's tools

  • Basics Code Generators 1.9
    AI-powered coding assistant for beginners.
    Open
    Here's a basic HTML structure for a shopping website's front page, focusing on aesthetics and user-friendliness: ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Superb Shopping Website</title> <link rel="stylesheet" href="styles.css"> </head> <body> <!-- Navigation Bar --> <nav class="nav-bar"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact Us</a></li> <li><a href="#">Login/Register</a></li> </ul> </nav> <!-- Hero Section --> <header class="hero-section"> <h1>Welcome to Superb Shopping Website</h1> <p>Explore our vast collection of products and start shopping today!</p> <button>Start Shopping</button> </header> <!-- Featured Products --> <section class="featured-products"> <h2>Featured Products</h2> <div class="product-grid"> <div class="product"> <img src="product1.jpg" alt="Product 1"> <h3>Product 1</h3> <p>$19.99</p> </div> <div class="product"> <img src="product2.jpg" alt="Product 2"> <h3>Product 2</h3> <p>$29.99</p> </div> <div class="product"> <img src="product3.jpg" alt="Product 3"> <h3>Product 3</h3> <p>$39.99</p> </div> <!-- Add more products here --> </div> </section> <!-- Call to Action --> <section class="call-to-action"> <h2>Subscribe to our newsletter</h2> <p>Get exclusive offers, discounts, and updates on new products!</p> <input type="email" placeholder="Enter your email address"> <button>Subscribe</button> </section> <!-- Footer --> <footer> <p>&copy; 2023 Superb Shopping Website. All rights reserved.</p> </footer> <!-- CSS Styles --> <style> /* Import Font Awesome for icons */ @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css'); /* Global Styles */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; } a { text-decoration: none; color: #337ab7; } a:hover { color: #23527c; } h1, h2, h3, h4, h5, h6 { font-weight: bold; margin-bottom: 0.5em; } p { margin-bottom: 1em; } /* Navigation Bar */ .nav-bar { background-color: #333; padding: 1em; text-align: center; } .nav-bar ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; } .nav-bar li { margin-right: 20px; } .nav-bar a { color: #fff; } .nav-bar a:hover { color: #ccc; } /* Hero Section */ .hero-section { background-image: linear-gradient(to bottom, #333, #555); background-size: 100% 300px; background-position: 0% 100%; height: 100vh; display: flex; justify-content: center; align-items: center; color: #fff; } .hero-section h1 { font-size: 48px; } .hero-section button { background-color: #337ab7; color: #fff; border: none; padding: 1em 2em; font-size: 18px; cursor: pointer; } .hero-section button:hover { background-color: #23527c; } /* Featured Products */ .featured-products { padding: 2em; } .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; } .product { background-color: #fff; padding: 1em; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .product img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px 10px 0 0; } .product h3 { font-size: 18px; margin-bottom: 0.5em; } .product p { font-size: 16px; color: #666; } /* Call to Action */ .call-to-action { background-color: #337ab7; padding: 2em; text-align: center; color: #fff; } .call-to-action h2 { font-size: 24px; } .call-to-action input[type="email"] { padding: 10px 20px; font-size: 16px; border: none; border-radius: 10px; } .call-to-action button { background-color: #23527c; color: #fff; border: none; padding: 10px 20px; font-size: 16px; cursor: pointer; } .call-to-action button:hover { background-color: #1d3c6a; } /* Footer */ footer { background-color: #333; padding: 1em; text-align: center; color: #fff; } </style> </body> </html> ``` This code creates a basic shopping website layout with a navigation bar, hero section, featured products, call-to-action, and footer. You'll need to replace the `styles.css` file with your own CSS file and add images for the products. Note: * This code uses the Font Awesome library for icons, so make sure to include the CDN link in your HTML file. * The CSS styles are basic and can be customized to fit your brand's design. * You'll need to add JavaScript functionality for the navigation bar, hero section, and call-to-action buttons. * This is just a starting point, and you'll need to add more features, products, and functionality to create a fully-fledged shopping website.
0 AIs selected
Clear selection
#
Name
Task