Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

Create a professional, visually appealing, and well-styled HTML code for the…

  1. 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.
    • The code should not be at first request too big in code size, respect the size so you don't break when writing code
    • Don't write too many styles for the site on the first request, or you'll break off
    • Always keep our dialog with you so you know what the query is about 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.
    • The code should not be at first request too big in code size, respect the size so you don't break when writing code
    • Don't write too many styles for the site on the first request, or you'll break off
    • Always keep our dialog with you so you know what the query is about Don't include any comments or explanations in the HTML code. HTML code should be clean and ready to display in the browser.

    Assistant:

  2. 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;
            }
            header {
                background-color: #ff6f61;
                color: #fff;
                text-align: center;
                padding: 20px;
            }
            h1 {
                font-size: 2.5em;
                margin: 0;
            }
            .container {
                max-width: 1200px;
                margin: auto;
                padding: 20px;
            }
            .ice-cream-gallery {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
                justify-content: center;
            }
            .ice-cream-item {
                background-color: #fff;
                border-radius: 10px;
                width: calc(33% - 40px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                transition: transform 0.3s;
                overflow: hidden;
                text-align: center;
                padding: 20px;
            }
            .ice-cream-item img {
                max-width: 100%;
                border-radius: 10px 10px 0 0;
            }
            .ice-cream-item:hover {
                transform: scale(1.05);
            }
            footer {
                text-align: center;
                padding: 20px;
                background-color: #ff6f61;
                color: white;
            }
            @media (max-width: 768px) {
                .ice-cream-item {
                    width: calc(50% - 40px);
                }
            }
            @media (max-width: 480px) {
                .ice-cream-item {
                    width: 100%;
                }
            }
        </style>
    </head>
    <body>
        <header>
            <h1>Добро пожаловать в Магазин Мороженного!</h1>
        </header>
        <div class="container">
            <div class="ice-cream-gallery">
                <div class="ice-cream-item">
                    <img src="icecream1.jpg" alt="Ванильное мороженое">
                    <h2>Ванильное</h2>
                    <p>Натуральное ванильное лакомство</p>
                </div>
                <div class="ice-cream-item">
                    <img src="icecream2.jpg" alt="Шоколадное мороженое">
                    <h2>Шоколадное</h2>
                    <p>Классический шоколадный вкус</p>
                </div>
                <div class="ice-cream-item">
                    <img src="icecream3.jpg" alt="Клубничное мороженое">
                    <h2>Клубничное</h2>
                    <p>Свежие клубничные ноты</p>
                </div>
            </div>
        </div>
        <footer>
            <p>&copy; 2023 Магазин Мороженного. Все права защищены.</p>
        </footer>
    </body>
    </html>