Models 44

Gemini 3.1 Flash Lite

by GoogleReasoningClean
Open in new window

Running live in a sandboxed frame. Click inside it before using the keyboard.

How it went

Total time
6.0 s
Cost
$0.0031
Output tokens
2,003
Spent thinking
513 tokens
Speed
421 tok/s
Console errors
0
First token after
1.2 s
First visible text after
2.4 s
Prompt tokens
367
Code size
4.6 KB
Finish reason
stop
Served by
Google
Model id
google/gemini-3.1-flash-lite
Reasoning sent
{"effort":"medium"}
Max output
65,536 tokens
Generated
Nov 12, 2026

What it was asked

The prompt
“i'm opening a korean taco food truck called "Kimchi Loco", make me a website that makes people really want to come”
System prompt, sent with every prompt
You are generating a self-contained web demo. It will be rendered automatically in a sandboxed iframe and compared side by side with the output of other AI models given the exact same task.

Output rules:
- Reply with exactly ONE fenced code block containing the complete file: ```html (or ```svg when the task asks for an SVG). No text before or after the code block.
- Everything must be inline: CSS in <style>, JavaScript in <script>. No external files, images, fonts or network requests, except the CDN URLs explicitly allowed by the task.
- Do not use localStorage, sessionStorage, cookies, IndexedDB, alert(), confirm(), prompt() or window.open(): they are blocked in the sandbox and will throw.
- The page must look right in a 1280×800 viewport and adapt gracefully down to 375px wide. No horizontal scrollbar.
- Something meaningful must be visible on first paint: a screenshot is taken automatically about 3 seconds after load, without any interaction.
- Everything that makes the demo interesting must be visible within the first seconds: nothing hidden behind a high score, a later level or a long play session.
- Games must start in a self-playing demo mode (a simple AI plays) behind a "Click or press a key to start" message, so the game can be judged in action without playing.
- The iframe only receives keyboard events after the user clicks it: if the demo uses the keyboard, display a clear "Click or press a key to start" message.
- The code must run with zero errors in the console of the latest Chrome.

Code run-1.html · 111 lines

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kimchi Loco | Korean Tacos & Fusion Street Eats</title>
    <style>
        :root {
            --red: #e63946;
            --orange: #f4a261;
            --cream: #f1faee;
            --dark: #1d3557;
            --accent: #2a9d8f;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

        body { background-color: var(--dark); color: var(--cream); overflow-x: hidden; }

        #start-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(29, 53, 87, 0.95); z-index: 1000;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            cursor: pointer; transition: opacity 0.5s;
        }

        .hero {
            height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
            text-align: center; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1599974579688-8dbdd335c77d?auto=format&fit=crop&w=1280&q=80');
            background-size: cover; background-position: center; padding: 20px;
        }

        h1 { font-size: 5rem; color: var(--orange); text-transform: uppercase; text-shadow: 2px 2px 0 var(--red); margin-bottom: 10px; }
        .tagline { font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 30px; }

        .menu { padding: 50px 20px; max-width: 1000px; margin: auto; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .card { background: white; color: var(--dark); padding: 20px; border-radius: 15px; transition: transform 0.3s; }
        .card:hover { transform: translateY(-10px); }
        .card h3 { color: var(--red); margin-bottom: 10px; }

        .truck-btn {
            background: var(--red); color: white; border: none; padding: 15px 30px;
            font-size: 1.2rem; border-radius: 50px; cursor: pointer; font-weight: bold;
        }

        .floating-taco {
            position: fixed; bottom: 20px; right: 20px; font-size: 3rem;
            animation: bounce 2s infinite ease-in-out;
        }

        @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

        @media (max-width: 600px) { h1 { font-size: 3rem; } }
    </style>
</head>
<body>

    <div id="start-overlay">
        <h1>KIMCHI LOCO</h1>
        <p>Click to see our menu & current location!</p>
        <div style="margin-top: 20px; border: 2px solid white; padding: 10px 20px; border-radius: 5px;">ENTER TRUCK</div>
    </div>

    <section class="hero" id="hero">
        <h1>Kimchi Loco</h1>
        <p class="tagline">KOREAN FLAVOR. STREET STYLE. FAST.</p>
        <button class="truck-btn" onclick="document.querySelector('.menu').scrollIntoView({behavior:'smooth'})">VIEW MENU</button>
    </section>

    <section class="menu">
        <h2 style="text-align: center; margin-bottom: 40px; color: var(--orange);">OUR CRAZY GOOD MENU</h2>
        <div class="grid">
            <div class="card">
                <h3>Bulgogi Beef Taco</h3>
                <p>Marinated ribeye, sesame slaw, kimchi pico de gallo, and our signature spicy loco sauce.</p>
            </div>
            <div class="card">
                <h3>Spicy Pork Belly</h3>
                <p>Crispy pork belly glazed in gochujang, pickled radish, and cilantro-lime crema.</p>
            </div>
            <div class="card">
                <h3>Kimchi Fried Rice Bowl</h3>
                <p>A mountain of kimchi fried rice topped with a fried egg, nori, and bulgogi beef.</p>
            </div>
        </div>
    </section>

    <div class="floating-taco">🌮</div>

    <script>
        const overlay = document.getElementById('start-overlay');
        overlay.addEventListener('click', () => {
            overlay.style.opacity = '0';
            setTimeout(() => { overlay.style.display = 'none'; }, 500);
        });

        // "Self-playing" logic: scroll through the page automatically if no activity
        let scrollPos = 0;
        const autoScroll = setInterval(() => {
            if (overlay.style.display !== 'none') return;
            scrollPos += 1;
            window.scrollTo(0, scrollPos);
            if (scrollPos > 400) clearInterval(autoScroll);
        }, 50);
        
        window.addEventListener('mousedown', () => clearInterval(autoScroll));
        window.addEventListener('keydown', () => clearInterval(autoScroll));
    </script>
</body>
</html>
Reasoning trace (513 tokens)
**Designing an Appetizing**

I'm focusing on creating an appealing, vibrant, and appetizing online presence for "Kimchi Loco." The challenge is to achieve this with self-contained HTML, CSS, and JavaScript, ensuring responsiveness and exploring a demo mode for showcasing the food truck's offerings, even though it's a website.

**Evolving Visual Strategy**

I'm honing in on a vibrant color palette of chili red, kimchi orange, and a cool neutral, aiming for bold typography with potential handwritten accents to capture the street food essence. My focus is now on designing interactive elements like hover effects and animated food showcases.