Models 44

Qwen3 Coder Next

by Qwenreasoning defaultClean
Open in new window

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

How it went

Total time
1 min 53 s
Cost
$0.0053
Output tokens
6,629
Spent thinking
0 tokens
Speed
59.1 tok/s
Console errors
0
First token after
620 ms
First visible text after
620 ms
Prompt tokens
367
Code size
25.3 KB
Finish reason
stop
Served by
Parasail
Model id
qwen/qwen3-coder-next
Reasoning sent
model default
Max output
235,929 tokens
Generated
Nov 13, 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 · 756 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-Mexican Fusion Food Truck</title>
    <meta name="description" content="The tastiest Korean-Mexican fusion tacos in town. Spicy, savory, and legendary. Find our truck today.">
    <style>
        :root {
            --primary-color: #e63946; /* Korean Chilean Red */
            --secondary-color: #1d3557; /* Deep Navy */
            --accent-color: #f4a261; /* Gochujang Orange */
            --text-color: #2b2d42;
            --bg-color: #f8f9fa;
            --white: #ffffff;
            --shadow: 0 10px 20px rgba(0,0,0,0.1);
            --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1.5rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--secondary-color);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .logo span {
            color: var(--primary-color);
            font-style: italic;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 600;
            transition: color 0.3s;
            font-size: 0.95rem;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .cta-btn {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 0.8rem 1.8rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            transition: transform 0.3s, box-shadow 0.3s;
            border: none;
            cursor: pointer;
        }

        .cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
            background-color: #d62838;
        }

        /* Hero Section */
        header {
            height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                        url('https://images.unsplash.com/photo-1565123409695-7b5ef237c2dd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            padding: 0 20px;
        }

        .hero-content h1 {
            font-size: 4.5rem;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        }

        .hero-content h1 span {
            color: var(--accent-color);
        }

        .hero-content p {
            font-size: 1.5rem;
            max-width: 700px;
            margin: 0 auto 2.5rem auto;
            font-weight: 300;
        }

        .scrolldown {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
            color: var(--white);
            text-decoration: none;
            font-size: 1.2rem;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
            40% {transform: translateX(-50%) translateY(-15px);}
            60% {transform: translateX(-50%) translateY(-10px);}
        }

        /* Menu Section */
        .menu-section {
            padding: 5rem 10%;
            background-color: var(--white);
            text-align: center;
        }

        .section-title {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 3rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--gradient);
            margin: 10px auto 0;
            border-radius: 2px;
        }

        .menu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .menu-item {
            background: var(--bg-color);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
            text-align: left;
        }

        .menu-item:hover {
            transform: translateY(-10px);
        }

        .item-img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }

        .item-details {
            padding: 2rem;
        }

        .item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .item-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--secondary-color);
        }

        .item-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .item-desc {
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .tags {
            display: flex;
            gap: 0.5rem;
        }

        .tag {
            font-size: 0.75rem;
            padding: 4px 8px;
            border-radius: 4px;
            background: #eee;
        }

        .tag.spicy {
            background: #ffe5ec;
            color: var(--primary-color);
        }

        /* About Section */
        .about-section {
            padding: 5rem 10%;
            background: #fdfdfd;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4rem;
        }

        .about-text {
            flex: 1;
        }

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            color: #555;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .about-img {
            flex: 1;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow);
            height: 400px;
            width: 100%;
            object-fit: cover;
        }

        /* Location / Schedule */
        .location-section {
            background-color: var(--secondary-color);
            color: var(--white);
            padding: 5rem 10%;
            text-align: center;
        }

        .schedule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .schedule-card {
            background: rgba(255,255,255,0.1);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.1);
        }

        .day {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-color);
            display: block;
            margin-bottom: 0.5rem;
        }

        .hours {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            display: block;
        }

        .map-container {
            margin-top: 3rem;
            height: 300px;
            width: 100%;
            background: #ddd;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            position: relative;
            overflow: hidden;
        }

        .map-placeholder {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0.6;
            background-image: radial-gradient(#999 1px, transparent 1px);
            background-size: 20px 20px;
        }
        
        .map-icon {
            position: relative;
            z-index: 10;
            font-size: 3rem;
            background: var(--primary-color);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);}
            70% {transform: scale(1.1); box-shadow: 0 0 0 20px rgba(230, 57, 70, 0);}
            100% {transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);}
        }

        /* Footer */
        footer {
            background: #111;
            color: #aaa;
            padding: 4rem 10% 2rem;
            text-align: center;
        }

        .social-links {
            margin: 2rem 0;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .social-icon {
            color: var(--white);
            font-size: 1.5rem;
            transition: color 0.3s;
        }

        .social-icon:hover {
            color: var(--accent-color);
        }

        .footer-bottom {
            border-top: 1px solid #222;
            padding-top: 2rem;
            font-size: 0.9rem;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            position: relative;
            text-align: center;
            animation: slideUp 0.4s ease;
        }

        @keyframes slideUp {
            from {transform: translateY(50px); opacity: 0;}
            to {transform: translateY(0); opacity: 1;}
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #888;
        }

        .form-group {
            margin-bottom: 1.5rem;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--secondary-color);
        }

        .form-control {
            width: 100%;
            padding: 1rem;
            border: 2px solid #eee;
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content h1 { font-size: 3rem; }
            .about-section { flex-direction: column-reverse; text-align: center; }
            .nav-links { display: none; } /* Simplified for mobile demo */
            .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 70px; right: 0; background: white; width: 100%; padding: 2rem; gap: 1rem; }
            .hamburger { display: block; font-size: 1.5rem; cursor: pointer; }
            .logo { margin-right: auto; }
        }

        @media (max-width: 480px) {
            .hero-content h1 { font-size: 2.5rem; }
            .hero-content p { font-size: 1.1rem; }
            .section-title { font-size: 2rem; }
        }
    </style>
</head>
<body>

    <!-- Navigation -->
    <nav>
        <div class="logo">Kimchi <span>Loco</span></div>
        <div class="hamburger" id="hamburger">☰</div>
        <div class="nav-links" id="nav-links">
            <a href="#home">Home</a>
            <a href="#menu">The Menu</a>
            <a href="#about">Our Story</a>
            <a href="#location">Track Us</a>
            <a href="#contact" class="cta-btn">Order Ahead</a>
        </div>
    </nav>

    <!-- Hero Section -->
    <header id="home">
        <div class="hero-content">
            <h1>Spicy. Savory. <span>Legendary.</span></h1>
            <p>Authentic Korean flavors meet bold Mexican street tacos. Freshly grilled bulgogi in hand-pressed corn tortillas. Find us on the streets or order for your next event.</p>
            <a href="#menu" class="cta-btn" style="font-size: 1.2rem; padding: 1rem 3rem;">Taste The Fusion</a>
            <a href="#location" class="cta-btn" style="background: transparent; border: 2px solid white; margin-left: 10px;">Find The Truck</a>
            <div class="scrolldown">↓</div>
        </div>
    </header>

    <!-- About Section -->
    <section class="about-section" id="about">
        <div class="about-text">
            <h2>Born in Seoul, Raised in LA.</h2>
            <p>Kimchi Loco isn't just a food truck—it's a cultural delicious revolution. Our founder, Min-jun, grew up eating traditional kimchi made by his grandmother. He moved to the states determined to share that love.</p>
            <p>We marinate our meats for 24 hours using secret family recipes combining soy, garlic, ginger, and that signature Korean heat. We top it all with our award-winning "Loco Slaw" and house-made gochujang aioli.</p>
            <p><strong>We believe food should make your mouth happy and your soul warm.</strong></p>
        </div>
        <img src="https://images.unsplash.com/photo-1556648100-450995105945?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Chef grilling meat" class="about-img">
    </section>

    <!-- Menu Section -->
    <section class="menu-section" id="menu">
        <h2 class="section-title">Fan Favorites</h2>
        <div class="menu-grid">
            <!-- Item 1 -->
            <div class="menu-item">
                <img src="https://images.unsplash.com/photo-1565123409695-7b5ef237c2dd?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Kimchi Burger" class="item-img">
                <div class="item-details">
                    <div class="item-header">
                        <div class="item-name">Bulgogi Beef Taco</div>
                        <div class="item-price">$4.50</div>
                    </div>
                    <p class="item-desc">Slow-grilled marinated beef, fresh cabbage slaw, sesame seeds, and gochujang aioli on a soft corn tortilla.</p>
                    <div class="tags">
                        <span class="tag">Best Seller</span>
                        <span class="tag spicy">Spicy</span>
                        <span class="tag">Gluten Free</span>
                    </div>
                </div>
            </div>

            <!-- Item 2 -->
            <div class="menu-item">
                <img src="https://images.unsplash.com/photo-1604578765105-364180273318?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Korean Fried Chicken" class="item-img">
                <div class="item-details">
                    <div class="item-header">
                        <div class="item-name">Katsu Chicken Wrap</div>
                        <div class="item-price">$5.00</div>
                    </div>
                    <p class="item-desc">Crispy breaded chicken thigh, tangy tonkatsu sauce, shredded lettuce, and kimchi inside a large flour tortilla.</p>
                    <div class="tags">
                        <span class="tag">Crunchy</span>
                        <span class="tag">Saucy</span>
                    </div>
                </div>
            </div>

            <!-- Item 3 -->
            <div class="menu-item">
                <img src="https://images.unsplash.com/photo-1598333074358-35375cba0e42?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Tofu Tacos" class="item-img">
                <div class="item-details">
                    <div class="item-header">
                        <div class="item-name">Spicy Tofu Bowl</div>
                        <div class="item-price">$4.75</div>
                    </div>
                    <p class="item-desc">Cubed fried tofu tossed in sweet spicy sauce, served over rice with pickled radishes and green onions.</p>
                    <div class="tags">
                        <span class="tag">Vegan</span>
                        <span class="tag">Hearty</span>
                    </div>
                </div>
            </div>

            <!-- Item 4 -->
            <div class="menu-item">
                <img src="https://images.unsplash.com/photo-1624353365286-3f8d62daad51?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Kimchi Quesadilla" class="item-img">
                <div class="item-details">
                    <div class="item-header">
                        <div class="item-name">Kimchi Quesadilla</div>
                        <div class="item-price">$4.25</div>
                    </div>
                    <p class="item-desc">Melted mozzarella and cheddar cheese with fermented napa cabbage and jalapeños, grilled to golden perfection.</p>
                    <div class="tags">
                        <span class="tag">Cheesy</span>
                        <span class="tag">Fermented</span>
                    </div>
                </div>
            </div>
        </div>
        <div style="margin-top: 3rem;">
            <a href="#contact" class="cta-btn">Order Catering</a>
        </div>
    </section>

    <!-- Location / Schedule -->
    <section class="location-section" id="location">
        <h2 class="section-title" style="color: white;">Where To Find Us</h2>
        <p style="margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto;">
            We start our week in the arts district and end it at the night market. Follow our socials for daily location updates!
        </p>
        
        <div class="schedule-grid">
            <div class="schedule-card">
                <span class="day">Monday</span>
                <span class="hours">11:00 AM - 2:00 PM</span>
                <span style="font-size: 0.9rem; opacity: 0.8;">Tech Hub Downtown (Parking Lot B)</span>
            </div>
            <div class="schedule-card">
                <span class="day">Wednesday</span>
                <span class="hours">12:00 PM - 8:00 PM</span>
                <span style="font-size: 0.9rem; opacity: 0.8;">Southside Night Market</span>
            </div>
            <div class="schedule-card">
                <span class="day">Friday</span>
                <span class="hours">11:30 AM - 9:00 PM</span>
                <span style="font-size: 0.9rem; opacity: 0.8;">Central Park (Lunch & Dinner)</span>
            </div>
            <div class="schedule-card">
                <span class="day">Saturday</span>
                <span class="hours">10:00 AM - 11:00 PM</span>
                <span style="font-size: 0.9rem; opacity: 0.8;">Retro Car Show & Food Fest</span>
            </div>
        </div>

        <div class="map-container">
            <div class="map-placeholder"></div>
            <div class="map-icon">📍</div>
            <p style="position: absolute; bottom: 10px; width: 100%; z-index: 10; font-size: 0.8rem; background: rgba(255,255,255,0.8);">Current Location: Downtown Arts District</p>
        </div>
    </section>

    <!-- Order / Contact Modal Trigger -->
    <section id="contact" style="padding: 5rem 10%; text-align: center; background: #fff0f0;">
        <h2 class="section-title" style="margin-bottom: 2rem;">Catering & Big Orders</h2>
        <p style="margin-bottom: 2rem; color: #555;">Planning an event? We love feeding crowds. Fill out the form below and we'll get back to you within 24 hours.</p>
        <button class="cta-btn" id="openModal" style="font-size: 1.3rem; padding: 1.2rem 3rem;">Get A Quote</button>
    </section>

    <!-- Modal -->
    <div class="modal" id="quoteModal">
        <div class="modal-content">
            <button class="close-btn" id="closeModal">&times;</button>
            <h3 style="color: var(--secondary-color); margin-bottom: 1rem;">Let's Cook!</h3>
            <form id="quoteForm">
                <div class="form-group">
                    <label for="name">Name</label>
                    <input type="text" id="name" class="form-control" required placeholder="Your Name">
                </div>
                <div class="form-group">
                    <label for="email">Email</label>
                    <input type="email" id="email" class="form-control" required placeholder="name@example.com">
                </div>
                <div class="form-group">
                    <label for="eventDate">Event Date</label>
                    <input type="date" id="eventDate" class="form-control" required>
                </div>
                <div class="form-group">
                    <label for="guests">Estimated Guests</label>
                    <input type="number" id="guests" class="form-control" placeholder="e.g. 150">
                </div>
                <button type="submit" class="cta-btn" style="width: 100%; margin-top: 1rem;">Submit Request</button>
            </form>
        </div>
    </div>

    <!-- Footer -->
    <footer>
        <div class="logo" style="color: white; font-size: 2rem; margin-bottom: 1rem;">Kimchi <span>Loco</span></div>
        <p style="margin-bottom: 2rem;">Serving the streets with love since 2023.</p>
        
        <div class="social-links">
            <a href="#" class="social-icon" aria-label="Instagram">📸 Instagram</a>
            <a href="#" class="social-icon" aria-label="Twitter">🐦 Twitter</a>
            <a href="#" class="social-icon" aria-label="Facebook">📘 Facebook</a>
        </div>

        <div class="footer-bottom">
            &copy; 2023 Kimchi Loco Food Truck. All rights reserved.
        </div>
    </footer>

    <script>
        // Mobile Menu Toggle
        const hamburger = document.getElementById('hamburger');
        const navLinks = document.getElementById('nav-links');

        hamburger.addEventListener('click', () => {
            navLinks.classList.toggle('active');
        });

        // Modal Logic
        const modal = document.getElementById('quoteModal');
        const openBtn = document.getElementById('openModal');
        const closeBtn = document.getElementById('closeModal');
        const form = document.getElementById('quoteForm');

        openBtn.addEventListener('click', () => {
            modal.classList.add('active');
        });

        closeBtn.addEventListener('click', () => {
            modal.classList.remove('active');
        });

        // Close modal if clicking outside content
        window.addEventListener('click', (e) => {
            if (e.target === modal) {
                modal.classList.remove('active');
            }
        });

        // Form Handling (Demo only)
        form.addEventListener('submit', (e) => {
            e.preventDefault();
            const name = document.getElementById('name').value;
            alert(`Thanks ${name}! We've received your request and will be in touch shortly to discuss Kimchi Loco catering.`);
            modal.classList.remove('active');
            form.reset();
        });

        // Smooth Scroll for Anchor Links
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                navLinks.classList.remove('active'); // Close mobile menu if open
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });

        // Scroll Reveal Animation
        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.style.opacity = 1;
                    entry.target.style.transform = 'translateY(0)';
                }
            });
        });

        // Apply animation styles to sections
        const sections = document.querySelectorAll('section, header');
        sections.forEach(section => {
            section.style.opacity = 0;
            section.style.transform = 'translateY(30px)';
            section.style.transition = 'opacity 0.8s ease, transform 0.8s ease';
            observer.observe(section);
        });
    </script>
</body>
</html>