Food truck websiteOne-line
Gemini 3.1 Flash Lite
by GoogleReasoningClean
Running live in a sandboxed frame. Click inside it before using the keyboard.
How it went
- Total time
- 10.9 s
- Cost
- $0.0049
- Output tokens
- 3,231
- Spent thinking
- 1,490 tokens
- Speed
- 330.5 tok/s
- Console errors
- 0
- First token after
- 1.1 s
- First visible text after
- 5.6 s
- Prompt tokens
- 367
- Code size
- 5.9 KB
- Finish reason
- stop
- Served by
- Model id
google/gemini-3.1-flash-lite- Reasoning sent
{"effort":"high"}- 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 · 213 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</title>
<style>
:root {
--red: #E63946;
--dark: #1D1D1D;
--yellow: #FFD60A;
--white: #F1FAEE;
--green: #A7C957;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
body {
background-color: var(--dark);
color: var(--white);
line-height: 1.6;
overflow-x: hidden;
}
/* Hero Section */
.hero {
height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background: linear-gradient(135deg, #1D1D1D 0%, #333 100%);
padding: 20px;
position: relative;
}
.hero h1 {
font-size: clamp(3rem, 15vw, 8rem);
color: var(--red);
text-transform: uppercase;
letter-spacing: -2px;
line-height: 0.9;
margin-bottom: 20px;
text-shadow: 5px 5px 0px var(--yellow);
animation: shake 2s infinite;
}
@keyframes shake {
0%, 100% { transform: rotate(-2deg); }
50% { transform: rotate(2deg); }
}
.tagline {
font-size: clamp(1.2rem, 4vw, 2rem);
font-weight: 300;
margin-bottom: 30px;
}
/* Live Location Widget */
.live-card {
background: rgba(255, 255, 255, 0.05);
padding: 20px;
border: 2px solid var(--green);
border-radius: 15px;
width: 90%;
max-width: 500px;
backdrop-filter: blur(10px);
}
.status-dot {
height: 10px;
width: 10px;
background-color: var(--green);
border-radius: 50%;
display: inline-block;
margin-right: 10px;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.5); opacity: 0.5; }
100% { transform: scale(1); opacity: 1; }
}
/* Menu Section */
.menu-container {
max-width: 1000px;
margin: 0 auto;
padding: 50px 20px;
}
.menu-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 40px;
}
.card {
background: #2A2A2A;
padding: 30px;
border-radius: 20px;
transition: transform 0.3s;
border-bottom: 5px solid var(--red);
}
.card:hover {
transform: translateY(-10px);
}
.card h3 {
font-size: 1.8rem;
color: var(--yellow);
margin-bottom: 10px;
}
.price {
font-weight: bold;
color: var(--green);
font-size: 1.2rem;
}
/* Animated Truck */
.truck-animation {
position: absolute;
bottom: 50px;
font-size: 3rem;
animation: drive 10s linear infinite;
}
@keyframes drive {
from { left: -100px; }
to { left: 110%; }
}
</style>
</head>
<body>
<section class="hero">
<div class="truck-animation">🌮🚚</div>
<h1>Kimchi Loco</h1>
<p class="tagline">Seoul Heat. Mexican Soul. Street Style.</p>
<div class="live-card">
<span class="status-dot"></span>
<strong>NOW SERVING:</strong> <span id="location-text">Downtown Plaza</span>
</div>
</section>
<div class="menu-container">
<h2 style="font-size: 2.5rem; text-align: center;">THE MENU</h2>
<div class="menu-grid">
<div class="card">
<h3>Bulgogi Taco</h3>
<p>Marinated ribeye, sesame slaw, cilantro, lime & spicy gochujang crema.</p>
<p class="price">$4.50</p>
</div>
<div class="card">
<h3>Spicy Pork Belly</h3>
<p>Crispy pork, kimchi relish, radish sprouts, and garlic aioli.</p>
<p class="price">$4.50</p>
</div>
<div class="card">
<h3>Kimchi Quesadilla</h3>
<p>Melted jack cheese, aged kimchi, scallions. Served with spicy dipping sauce.</p>
<p class="price">$8.00</p>
</div>
</div>
</div>
<script>
// Simulation of truck moving locations
const locations = [
"Downtown Plaza",
"The Arts District",
"University Campus",
"Central Park West",
"Main St. Station"
];
const locElement = document.getElementById('location-text');
function updateLocation() {
let index = 0;
setInterval(() => {
index = (index + 1) % locations.length;
locElement.innerText = locations[index];
locElement.style.opacity = 0;
setTimeout(() => {
locElement.style.opacity = 1;
}, 200);
}, 4000);
}
// Initialize "Demo" mode
window.onload = () => {
updateLocation();
};
// Click to start interaction (per requirements)
document.body.addEventListener('click', () => {
console.log("Ready to order!");
});
</script>
</body>
</html>Reasoning trace (1,490 tokens)
**Designing Appetizing Web Presence** I'm refining the visual direction, aiming for a high-energy, modern aesthetic that truly captures the deliciousness and excitement of Kimchi Loco. The focus is on making visitors instantly crave our unique Korean-Mexican fusion. **Crafting Visual Identity** I'm leaning into a vibrant, urban street-food theme. My color palette will feature kimchi red, gochujang black, lime green, and white. I'll leverage embedded SVGs and CSS art to create a dynamic, fusion aesthetic, ensuring it feels lively and responsive within the constraints. **Structuring Page Elements** I'm solidifying the page layout, planning a dynamic hero with a pulsing CTA, card-based menu items, and a placeholder location widget. Semantic HTML and responsive CSS will bring this fusion concept to life. **Implementing Interactive Elements** I'm focusing on system fonts and custom color variables for a robust visual foundation. The hero will feature a bold skew transform. I'm simulating "self-playing" demo modes through animated elements like fading cards and a cycling location ticker. **Finalizing Code Structure** I'm testing the single-file constraint, aiming for a clean console and perfect responsiveness. I'm also developing CSS keyframes for animated elements and structuring the HTML with clear semantic sections. **Animating Key Elements** I'm sketching out CSS animations for the "Loco" title and a driving taco truck symbol. I'm also considering a simple JavaScript to randomly update a "live" location indicator, simulating movement for the mobile feel. **Refining Content and Colors** I'm now focused on punchy copy and a vibrant color scheme. I'm testing the flow and ensuring all elements work harmoniously to convey our unique fusion concept. **Integrating Dynamic Features** I'm adding a dynamic "live" location indicator using JavaScript to simulate a constantly moving food truck. I'm also implementing CSS animations to make the "Loco" title subtly shake.