Create a clone of grok.com using HTML, make no mistakes
- User
Create a clone of grok.com using HTML, make no mistakes
Assistant
Grok.com Clone in HTML
Here's a clean, functional clone of the Grok.com website using HTML. This is a simplified version that captures the essence of the original site's structure and design.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Grok - AI with a Sense of Humor</title> <style> /* Reset and base styles */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; } body { background-color: #f8f9fa; color: #1a1a1a; line-height: 1.5; } /* Header styles */ header { background-color: white; box-shadow: 0 2px 4px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; } .header-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .logo { display: flex; align-items: center; gap: 0.5rem; } .logo img { height: 32px; } .logo-text { font-size: 1.5rem; font-weight: 700; background: linear-gradient(90deg, #ff6b00, #ff006b); -webkit-background-clip: text; background-clip: text; color: transparent; } nav ul { display: flex; gap: 1.5rem; list-style: none; } nav a { text-decoration: none; color: #1a1a1a; font-weight: 500; transition: color 0.2s; } nav a:hover { color: #ff6b00; } .auth-buttons { display: flex; gap: 0.5rem; } .btn { padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; cursor: pointer; transition: all 0.2s; } .btn-outline { border: 1px solid #d1d5db; background-color: transparent; color: #1a1a1a; } .btn-outline:hover { background-color: #f3f4f6; } .btn-primary { background-color: #ff6b00; color: white; border: 1px solid #ff6b00; } .btn-primary:hover { background-color: #e65e00; border-color: #e65e00; } /* Hero section */ .hero { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; text-align: center; } .hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; background: linear-gradient(90deg, #ff6b00, #ff006b); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2rem; color: #4b5563; } .hero-buttons { display: flex; justify-content: center; gap: 1rem; } /* Features section */ .features { background-color: white; padding: 4rem 2rem; } .features-container { max-width: 1200px; margin: 0 auto; } .section-header { text-align: center; margin-bottom: 3rem; } .section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; } .section-header p { color: #6b7280; max-width: 700px; margin: 0 auto; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .feature-card { padding: 2rem; border-radius: 1rem; background-color: #f8f9fa; transition: transform 0.3s, box-shadow 0.3s; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); } .feature-icon { width: 60px; height: 60px; margin-bottom: 1rem; background-color: #ff6b00; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; } .feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; } .feature-card p { color: #4b5563; } /* CTA section */ .cta { background: linear-gradient(135deg, #ff6b00, #ff006b); color: white; padding: 4rem 2rem; text-align: center; } .cta h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; } .cta p { max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; } /* Footer */ footer { background-color: #1a1a1a; color: white; padding: 3rem 2rem; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; } .footer-column h3 { font-size: 1.25rem; margin-bottom: 1.5rem; } .footer-column ul { list-style: none; } .footer-column li { margin-bottom: 0.75rem; } .footer-column a { color: #a0a0a0; text-decoration: none; transition: color 0.2s; } .footer-column a:hover { color: white; } .footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 2rem; border-top: 1px solid #333; display: flex; justify-content: space-between; align-items: center; } .social-links { display: flex; gap: 1rem; } .social-links a { color: white; font-size: 1.25rem; } @media (max-width: 768px) { .header-container { flex-direction: column; gap: 1rem; } nav ul { flex-direction: column; gap: 0.5rem; align-items: center; } .hero h1 { font-size: 2.5rem; } .hero p { font-size: 1rem; } .footer-bottom { flex-direction: column; gap: 1rem; } } </style> </head> <body> <header> <div class="header-container"> <div class="logo"> <img src="https://via.placeholder.com/32" alt="Grok Logo"> <span class="logo-text">Grok</span> </div> <nav> <ul> <li><a href="#">Features</a></li> <li><a href="#">Pricing</a></li> <li><a href="#">About</a></li> <li><a href="#">Blog</a></li> </ul> </nav> <div class="auth-buttons"> <a href="#" class="btn btn-outline">Log in</a> <a href="#" class="btn btn-primary">Sign up</a> </div> </div> </header> <main> <section class="hero"> <h1>AI with a sense of humor</h1> <p>Grok is an AI modeled after the Hitchhiker's Guide to the Galaxy, so it answers almost anything and, far more importantly, suggests what questions to ask!</p> <div class="hero-buttons"> <a href="#" class="btn btn-primary">Try Grok for free</a> <a href="#" class="btn btn-outline">Learn more</a> </div> </section> <section class="features"> <div class="features-container"> <div class="section-header"> <h2>Why Grok?</h2> <p>Grok is designed to answer questions with a bit of wit, a touch of humor, and a whole lot of intelligence.</p> </div> <div class="features-grid"> <div class="feature-card"> <div class="feature-icon">🤖</div> <h3>AI with Personality</h3> <p>Grok doesn't just answer questions - it engages in conversation with a unique personality inspired by science fiction.</p> </div> <div class="feature-card"> <div class="feature-icon">💡</div> <h3>Smart Suggestions</h3> <p>Grok doesn't just wait for your questions - it suggests what you might want to ask next, making exploration easier.</p> </div> <div class="feature-card"> <div class="feature-icon">🔍</div> <h3>Real-time Knowledge</h3> <p>Access to current information through the X platform, ensuring answers are up-to-date and relevant.</p> </div> </div> </div> </section> <section class="cta"> <div class="features-container"> <h2>Ready to experience Grok?</h2> <p>Join thousands of users who are already exploring the universe of knowledge with a touch of humor and personality.</p> <a href="#" class="btn btn-primary">Get started for free</a> </div> </section> </main> <footer> <div class="footer-container"> <div class="footer-column"> <h3>Grok</h3> <ul> <li><a href="#">About</a></li> <li><a href="#">Blog</a></li> <li><a href="#">Careers</a></li> <li><a href="#">Press</a></li> </ul> </div> <div class="footer-column"> <h3>Resources</h3> <ul> <li><a href="#">Help Center</a></li> <li><a href="#">API Documentation</a></li> <li><a href="#">Community</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> <div class="footer-column"> <h3>Legal</h3> <ul> <li><a href="#">Privacy Policy</a></li> <li><a href="#">Terms of Service</a></li> <li><a href="#">Cookie Policy</a></li> </ul> </div> </div> <div class="footer-bottom"> <div> <p>© 2023 Grok. All rights reserved.</p> </div> <div class="social-links"> <a href="#">Twitter</a> <a href="#">GitHub</a> <a href="#">LinkedIn</a> </div> </div> </footer> </body> </html>Key Features of This Clone:
- Responsive Design: Works on mobile and desktop devices
- Modern UI Elements: Includes cards, buttons, and a clean layout
- Gradient Text Effects: Similar to the original Grok branding
- Complete Sections: Header, hero, features, CTA, and footer
- Interactive Elements: Hover effects on buttons and cards
- Semantic HTML: Proper use of HTML5 elements
- CSS Styling: All styles are included in the document for easy implementation
To use this clone, simply copy the entire HTML code into a file with a
.htmlextension and open it in a web browser. For a production site, you would want to separate the CSS into its own file and add more functionality with JavaScript.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.