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: "Продажа мороженного, список мороженного и цена"
Ensure the HTML code includes: - A vibrant and eye-catching design. - Large and clear text. - Beautiful and modern styles. - Professional layout and structure. - All styles and scripts should be included in a single HTML file. - The design should be responsive and adapt well to different window sizes, especially fitting inside a modal window. Do not include any comments or explanations in the HTML code. The HTML code should be clean and ready to be rendered in a browser.Assistant: ```html
- Клубничное (Fresa): 160 руб.
- Фисташковое (Pistacho): 200 руб.
Si necesitas más información o ayuda con algo específico, ¡no dudes en decírmelo! 😊 Assistant: ```html
- 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-color: #f0f8ff; color: #333; } .container { max-width: 600px; margin: 50px auto; padding: 20px; border-radius: 10px; background: linear-gradient(to right, #ffcc00, #ff6699); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } h1 { text-align: center; font-size: 2.5em; margin-bottom: 20px; } table { width: 100%; border-collapse: collapse; margin-top: 20px; } th, td { padding: 15px; text-align: center; border: 1px solid #fff; font-size: 1.2em; } th { background-color: #ff6699; color: white; } tr:nth-child(even) { background-color: #ffe6f2; } tr:hover { background-color: #ffccff; } @media (max-width: 600px) { h1 { font-size: 2em; } th, td { font-size: 1em; } } </style> </head> <body> <div class="container"> <h1>Продажа мороженного</h1> <table> <thead> <tr> <th>Мороженое</th> <th>Цена</th> </tr> </thead> <tbody> <tr> <td>Ванильное</td> <td>150 руб.</td> </tr> <tr> <td>Шоколадное</td> <td>180 руб.</td> </tr> <tr> <td>Клубничное</td> <td>160 руб.</td> </tr> <tr> <td>Фисташковое</td> <td>200 руб.</td> </tr> </tbody> </table> </div> </body> </html>