gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
Create a professional, visually appealing, and well-styled HTML code for the…
- User
User: Create a professional, visually appealing, and well-styled HTML code for the following request: "Напиши сайт по продаже мороженного"
Make sure the HTML code contains: - A bright and attractive design. - Large and clear text. - Beautiful and modern styles. - Professional layout and structure. - All styles and scripts should be included in one HTML file. - The design should be responsive and adapt well to different window sizes, especially in a modal window. - Write styles for the site as short as possible Don't include any comments or explanations in the HTML code. HTML code should be clean and ready to display in the browser.Assistant:
Make sure the HTML code contains: - A bright and attractive design. - Large and clear text. - Beautiful and modern styles. - Professional layout and structure. - All styles and scripts should be included in one HTML file. - The design should be responsive and adapt well to different window sizes, especially in a modal window. - Write styles for the site as short as possible Don't include any comments or explanations in the HTML code. HTML code should be clean and ready to display in the browser.Assistant:
- Assistant
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Магазин Мороженого</title> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f5f5f5; } header { background: #ff6f61; padding: 20px; text-align: center; color: #fff; } h1 { font-size: 3em; margin: 0; } .content { display: flex; flex-wrap: wrap; justify-content: center; padding: 20px; } .product { background: #fff; margin: 10px; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: calc(30% - 40px); transition: transform 0.2s; } .product:hover { transform: scale(1.05); } img { width: 100%; border-radius: 10px; } h2 { margin: 10px 0; font-size: 1.5em; color: #ff6f61; } p { font-size: 1.2em; color: #333; } footer { text-align: center; padding: 20px; background: #ff6f61; color: #fff; } @media (max-width: 768px) { .product { width: calc(45% - 40px); } } @media (max-width: 480px) { .product { width: 100%; } } </style> </head> <body> <header> <h1>Добро пожаловать в Магазин Мороженого!</h1> </header> <div class="content"> <div class="product"> <img src="vanilla.jpg" alt="Ванильное Мороженое"> <h2>Ванильное</h2> <p>Классическое ванильное мороженое с настоящими стручками ванили.</p> </div> <div class="product"> <img src="chocolate.jpg" alt="Шоколадное Мороженое"> <h2>Шоколадное</h2> <p>Насыщенное шоколадное мороженое для истинных ценителей.</p> </div> <div class="product"> <img src="strawberry.jpg" alt="Клубничное Мороженое"> <h2>Клубничное</h2> <p>Освежающее клубничное мороженое с кусочками свежей клубники.</p> </div> </div> <footer> © 2023 Магазин Мороженого </footer> </body> </html>